[cmake-developers] -GNinja on Windows

Bill Hoffman bill.hoffman at kitware.com
Fri Jun 8 21:28:45 EDT 2012


On 6/8/2012 5:15 PM, Peter Kümmel wrote:
>>
>> It is not getting that far. It is not even running cmcldeps. :)
>> The command= line is bad, so nothing builds, and we get no .d files.
>>
>
> I added parentheses around cmcldeps, it should work now.
>
>>>
>>> I also found that CMAKE_CL_SHOWINCLUDE_PREFIX is not set for different
>>> CMakeLists.txt. I assume Windows-cl.cmake is the wrong place for it.
>>>
>>> How can I make CMAKE_CL_SHOWINCLUDE_PREFIX as visible as
>>> CMAKE_C_COMPILER?
>>>
>> I think it is going to have to go into CMakeCXXPlatform.cmake that gets
>> configured just before the code you just added.
>
> Thanks, right direction. I added it to CMakeC*Compiler.cmake.in.
>
fails in a new way:

http://open.cdash.org/viewConfigure.php?buildid=2345213

FAILED: "CMAKE_CMCLDEPS_EXECUTABLE-NOTFOUND" testCXXCompiler.cxx
   CMakeFiles\cmTryCompileExec4166421573.dir\testCXXCompiler.cxx.obj.d
   CMakeFiles\cmTryCompileExec4166421573.dir\testCXXCompiler.cxx.obj "Note:
   including file: " C:\PROGRA~2\MICROS~1.0\VC\bin\cl.exe /nologo /DWIN32
   /D_WINDOWS /W3 /Zm1000 /EHsc /GR /D_DEBUG /MDd /Zi /Ob0 /Od /RTC1 /TP
   /FoCMakeFiles\cmTryCompileExec4166421573.dir\testCXXCompiler.cxx.obj
   /FdcmTryCompileExec4166421573.pdb -c testCXXCompiler.cxx

   CreateProcess failed: The system cannot find the file specified.





More information about the cmake-developers mailing list