Preferred generators are ignored
See original GitHub issueFields listed below are ignored. The only way I found to specify a generator is via cmake.generator
in settings.json
.
Field preferredGenerator
in cmake-kits.json
is ignored.
Field cmake.preferredGenerators
is settings.json
is ignored.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:25 (7 by maintainers)
Top Results From Across the Web
Developers - Preferred generators are ignored - - Bountysource
Fields listed below are ignored. The only way I found to specify a generator is via cmake.generator in settings.json .
Read more >Configuring CMake Tools - vector Of bool
Always prefer to use cmake. ... Set to a string to override CMake Tools' preferred generator logic. If this is set, ... installPrefix...
Read more >Customization - OpenAPI Generator
OpenAPI Generator supports a .openapi-generator-ignore file, similar to .gitignore or .dockerignore you're probably already familiar with.
Read more >Unexpected behaviour with a conditional generator expression
There are several possible solutions, I generally prefer not to use "generator expressions" if they aren't iterated over immediately.
Read more >10 Situations When Ship's Generator Must be Stopped ...
Any abnormal sound, no matter how faint, must never be ignored. In case of an unusual sound, the engine should be immediately stopped...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same problem trying to select
Unix Makefiles
overNinja
, I tried everything (together or apart, nothing worked):In the end the only solution that worked for me was to select
No active kit
.I had trouble getting the extension to select the Visual Studio generator I’d specified for my kit.
I discovered that there are default values for
cmake.preferredGenerators
(“Ninja”, “Unix Makefile”) and if either of these is present in the system, it will select them over the one you’ve specified for the kit. I guess the term preferred should have made it obvious to me, but I didn’t notice this setting and also assumed that specifying a generator for a kit would override other “fallback” settings.In the end I overrode the default value of
cmake.preferredGenerators
with an empty user setting, and configured the generator explicitly for each kit.