如何将命令行选项从 bii 传递给 cmake?我试过通过-Wdev
,--debug-output
像这样:
bii build -Wdev --debug-output
但它不起作用:
INFO: Processing changes...
Building: "cmake" --build . -Wdev --debug-output
Unknown argument -Wdev
Unknown argument --debug-output
Usage: cmake --build <dir> [options] [-- [native-options]]
Options:
<dir> = Project binary directory to be built.
--target <tgt> = Build <tgt> instead of default targets.
--config <cfg> = For multi-configuration tools, choose <cfg>.
--clean-first = Build target 'clean' first, then build.
(To clean only, use --target 'clean'.)
--use-stderr = Ignored. Behavior is default in CMake >= 3.0.
-- = Pass remaining options to the native tool.
ERROR: Build failed