【发布时间】:2018-05-20 10:43:43
【问题描述】:
我正在尝试使用 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"
【问题讨论】: