I am trying to build with CMake and to pass both options: config: Release and VERBOSE=ON
:
cmake --build . --config Release -- VERBOSE=ON
And in CMake of Visual I have the switch:
cmake -G "Visual Studio 14 2015"
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON ^
if I pass only '--config Release' it works.
Now it's failing with this message:
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"