Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The _classes.h header file isn't generated for a project with only a main program #1278

Open
georgeslabreche opened this issue Aug 18, 2021 · 0 comments

Comments

@georgeslabreche
Copy link

georgeslabreche commented Aug 18, 2021

When only defining a main program without any classes:

<main name = "demo_app">Demo App</main>

Running gsl project.xml generates a demo_app.c file that has a #include "demo_classes.h" but the demo_classes.h isn't generated. Neither are the include/demo.h nor the include/demo_library.h header files generated, which means that the project dependencies are not included.

As a workaround I define a dummy class that gets generated but isn't developed any further:

<class name = "demo_app_dummy" selftest = "0" />
<main name = "demo_app">Demo App</main>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant