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
"<!--".
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.15/Modules/CMakeDetermineSystem.cmake:93 (include)
CMakeLists.txt:24 (project)
-- Configuring incomplete, errors occurred!
"
The Toolset.targets file it's talking about is attached to this message. If you guys know how to fix this error, it'd be a great help. Thanks in advance.
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQKitware offers various services to support the CMake community. For more information on each offering, please visit:
CMake Support:
http://cmake.org/cmake/help/support.htmlCMake Consulting:
http://cmake.org/cmake/help/consulting.htmlCMake Training Courses:
http://cmake.org/cmake/help/training.htmlVisit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.htmlFollow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake