Cmake Command line arguments in a Ninja build -
i trying utilize ninja + cmake build project.
this project has custom target takes additional arguments.
e.g. create target option=value
it works fine in make, not sure how ninja take in additional command line arguments. possible ninja build?
i don't think it's possible straight through ninja. scanned through ninja docs double check, , didn't see anything. instead, modify cmake cache variables via cmake (see cmake -d , cmake -l). way alter build on fly, or create few different build directories different settings in each one.
cmake command-line-arguments ninja
No comments:
Post a Comment