Re: [CMake] CMake Error Flagged in MSVC Toolchain File

2019-11-09 Thread Osman Zakir
Yeah, I typed it correctly in the actual command and missed the C when 
copy-pasting it here.  Sorry about that.

I also want to know if it's possible to use LLVM 10 with the ClangCl toolset in 
VS2019.  The toolchain file itself uses LLVM 8.0.1, but I also have LLVM 10 
installed on my computer and I'd like to use that if possible.
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake


[CMake] CMake Error Flagged in MSVC Toolchain File

2019-11-08 Thread Osman Zakir
I tried to configure a FLTK build with this:
"make .. -G "Visual Studio 16 2019" -A x64 -T "ClangCl" 
-DCMAKE_INSTALL_PREFIX=../install 
-DCMAKE_CXX_COMPILER=C:/llvm-project/install/bin/clang-cl.exe 
-DCMAKE_C_COMPILER=C:/llvm-project/install/bin/clang-cl.exe 
-DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-Xclang -pedantic -Xclang 
-std=c++17 -Xclang -Wall -Xclang -fexceptions"
"
and got an error saying:
"
CMake Error at C:/Program Files (x86)/Microsoft Visual 
Studio/2019/Community/MSBuild/Microsoft/VC/v160/Platforms/x64/PlatformToolsets/ClangCL/Toolset.targets:1:
  Parse error.  Expected a command name, got unquoted argument with text​