[CMake] [EXTERNAL]: Errors with cmake for VS2105 (update 3) + clang + nmake

Peter Jansen p.jansen at computer.org
Thu Dec 1 11:25:21 EST 2016


Toolset "v140_clang_c2" allows me to generate (& build) Clang/C2 projects
with Generator "Visual Studio 15 Win64", and Toolset "v140" regular MS "cl"
compiler projects. 

Generator "NMake Makefiles" does not support any -T toolset specification;
all I can successfully generate (& build) are Makefile targets for regular 
MS "cl" compiler projects. I am unable to use "Clang/C2" projects.

By the way, I use "SET PreferredToolArchitecture=x64" in order to be able to
use the native 64-bit versions of these compilers, producing 64-bit code.

By the way (#2), as I also installed MS VS 2017 RC, using toolset
"v141_clang_c2" for Clang/C2 projects (or "v141" for "cl" projects),
correctly produces VS 2017 projects. But here too, no joy with the
combination "NMake Makefiles" for Clang/C2 compiler projects, only MS "cl". 

In short: my problem of trying to use cmake to generate Clang/C2 NMake
Makefile targets has NOT been solved. I now assume this is a problem with
cmake, or an unsupported combination.

Nevertheless, I thank you Parag for all your efforts.

Cheers,

Peter Jansen  



--
View this message in context: http://cmake.3232098.n2.nabble.com/Errors-with-cmake-for-VS2105-update-3-clang-nmake-tp7594637p7594691.html
Sent from the CMake mailing list archive at Nabble.com.


More information about the CMake mailing list