1

私は 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"
4

1 に答える 1