-
I wonder if it is possible to specify generator via |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can set |
Beta Was this translation helpful? Give feedback.
-
I wonder if it is possible to specify generator via |
Beta Was this translation helpful? Give feedback.
-
You can set |
Beta Was this translation helpful? Give feedback.
You can set
cmake.args = ["-GNinja"]
. If you want to customize this per-platform, you can use[[tool.scikit-build.overrides]]
. Now you can even useinherit
to build them up. However, ninja's not as well supported quite yet on Windows; we won't detect cmake.args's -G when computing get_requries_* (MSVC ships with ninja, so that's pretty safe), and we won't look in the registry and activate MSVC for you, so it needs to be done in a dev console or after activating vcvars.bat.