![]() ![]() Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/ClangC2/3/bin/HostX86/clang. Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/ClangC2/3/bin/HostX86/clang.exe The CXX compiler identification is Clang 3.8.0 ![]() The C compiler identification is Clang 3.8.0 Sample output: C:\work\build>cmake -G"Visual Studio 15 2017" -T"v141_clang_c2" Or using LLVM snapshot build the page define toolset names to be used in above command e.g. I list of available toolsets can be observed when you open any C++ project and then look to Propertiese menu -> General: "Platform toolsets" combobox-list There is no need to use these CMAKE_C?_COMPILER variables.Ĭmake -G"Visual Studio 15 2017" -T "v141_clang_c2" If you wish to use VisualStudio 201x with clang/c2 compiler, forgot about linux/mac approach (it works for mingw/msys etc.).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |