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

2016-12-01 Thread Peter Jansen
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 Makefil

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

2016-11-28 Thread Parag Chandra
I’m not sure if the toolset parameter will have any effect if you’re *not* also going to output vcxproj files, but can you try “v140_clang_c2” as the toolset? Parag Chandra Technical Lead, Mobile Team Mobile: +1.919.824.1410 Ionic Security Inc. 1170 Peachtree St. NE STE 400, Atlanta, GA 30309

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

2016-11-24 Thread Peter Jansen
Hi Parag, Thanks for your feedback. The instructions you are referring to are for this cmake command : cmake -G"Visual Studio 14 2015" -T"LLVM-vs2014" .. But in my case I'd like (1) to use the MS VS 2015 "Nmake Makefiles" as -G option, and (2) the MS VS 2015 (update 3) included "clang" (whi

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

2016-11-21 Thread Parag Chandra
Hi Peter, Seems like CMake is continuing to pass cmd line args that are only suitable for the default msvc compiler, which clang is treating as invalid paths. You need to override more than just the C_COMPILER. Try the instructions here: http://stackoverflow.com/questions/38171878/how-do-i-tell