Displaying 1 result from an estimated 1 matches for "cmake_cl_64".
2014 Jul 30
2
[LLVMdev] Host target triple on Windows
...(x86)\Microsoft Visual Studio 12.0\VC\bin\cl.exe
D:\src\llvm\build\ninja>cmake ..\..
-- Target triple: i686-pc-win32
-- Native target architecture is X86
In both cases my triple is the same. This seems to boil down to some code
in llvm\cmake\modules\GetHostTriple.cmake. It uses the variable
CMAKE_CL_64. From what I can tell, the value of this variable depends on
your CMake generator, and not on your toolchain. Some googling suggests
that CMAKE_CL_64 will be set to 1 if you run cmake -G "Visual Studio 12
Win64". I can't even get this to work, however, as it just says that
generator...