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

Cannot override Generator per project using CMAKE_GENERATOR variable #188

Open
pitti98 opened this issue Sep 18, 2023 · 1 comment
Open

Comments

@pitti98
Copy link

pitti98 commented Sep 18, 2023

In ticket #169 we read that the "Generator" option is now per workspace instead of per project.

If you still want to override this in the project settings, you can't. There is no option in the project settings.
There is a cmake variable by which you could specify the generator (CMAKE_GENERATOR), buf if you try to set it as a CMake cache entry, it doesn't work because cmake complains that it is ignored, because "-G" is already given on the command line, and that takes precedence.
The description string "Default build system" in the workspace settings suggests that this should be overridable somehow.

@15knots
Copy link
Owner

15knots commented Sep 21, 2023

The generator option has been moved intentionally to the workbench settings since the installed build system is specific to the machine and thus specific to the workbench.
The "Default build system" can be overwritten in a Build Tool Kit definition.

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

2 participants