Skip to content

Is it possible to specify generator? #1079

Answered by henryiii
fralik asked this question in Q&A
Discussion options

You must be logged in to vote

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 use inherit 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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fralik
Comment options

Answer selected by fralik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants