我正在尝试使用 CMake 构建并传递两个选项: config: Release 和VERBOSE=ON
:
cmake --build . --config Release -- VERBOSE=ON
在 Visual CMake 中,我有开关:
cmake -G "Visual Studio 14 2015"
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON ^
如果我只通过'--config Release',它就可以工作。
现在,这条消息失败了:
15:40:51 MSBUILD : error MSB1008: Only one project can be specified.
15:40:51 Switch: VERBOSE=1
15:40:51
15:40:51 For switch syntax, type "MSBuild /help"