How to set default cmake build system #1333
-
|
Hello, rez currently defaults to using nmake on Windows, which is awful. Is there a way to set it to ninja by default instead? I tried adding EDIT: I also tried: {
"cmake": {
"build_system": "ninja"
}
} |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
This probably seems counterintuitive, but try: If I'm not wrong: Keep in mind that this correlates to the difference between |
Beta Was this translation helpful? Give feedback.
This probably seems counterintuitive, but try:
plugins = {'build_system': {'cmake': {'build_system': 'ninja'}}}If I'm not wrong:
rez has a default build system (
cmake), butcmakehas a default build system (nmakein this case). I assume what you want is to change cmake's defaultbuild_system, not rez defaultbuild_system, unless ninja's scope has expanded drastically since I last checked.Keep in mind that this correlates to the difference between
rez-build's-bflag, and--bt+--bsflags. You'll see that when cmake is your default build system, the--bt+--bsflags are cmake-specific flags.