Issue setting Ninja generator on Windows #141
-
Hello, I've been trying to get ninja to work so i can use clang-tidy and cppcheck that this project initializer comes with, but whenever i try to set the generator flag to Ninja, CMake throws an error:
I've tried removing any x64 mentions i could find, but to no avail. First i tried setting the generator flag in CMakeUserPresets.json but it throws that platform specification error. After that i tried setting the generator to Ninja in CMakePresets.json's CMakeUserPresets.json
CMakePresets.json (probably a bad idea to modify?)
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Sorry for the late reply. Your problem is that you are inheriting a non-empty |
Beta Was this translation helpful? Give feedback.
Sorry for the late reply. Your problem is that you are inheriting a non-empty
architecture
value fromdev-win64
. You can set it to an empty string in yourdev
preset.