Hi.  I tried to specify the LLVM Toolset for VS2019 by doing "-T LLVM" and also 
"-T llvm" but it failed both times.  What I get for the former is this:

"
cmake -G "Visual Studio 16 2019" -A x64 -T LLVM .. 
-DCMAKE_INSTALL_PREFIX="C:/Program Files/FLTK" -DCMAKE_BUILD_TYPE=Release
CMake Error at CMakeLists.txt:24 (project):​
  Failed to run MSBuild command:​
​
    C:/Program Files (x86)/Microsoft Visual 
Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe​
​
  to get the value of VCTargetsPath:​
​
    Microsoft (R) Build Engine version 16.3.2+e481bbf88 for .NET Framework​
    Copyright (C) Microsoft Corporation. All rights reserved.​
​
    Build started 10/24/2019 10:19:12 PM.​
    Project "C:\fltk-1.3.5\build\CMakeFiles\3.15.4\VCTargetsPath.vcxproj" on 
node 1 (default targets).​
    C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(379,5):
 error MSB8020: The build tools for LLVM (Platform Toolset = 'LLVM') cannot be 
found. To build using the LLVM build tools, please install LLVM build tools.  
Alternatively, you may upgrade to the current Visual Studio tools by selecting 
the Project menu or right-click the solution, and then selecting "Retarget 
solution". [C:\fltk-1.3.5\build\CMakeFiles\3.15.4\VCTargetsPath.vcxproj]​
    Done Building Project 
"C:\fltk-1.3.5\build\CMakeFiles\3.15.4\VCTargetsPath.vcxproj" (default targets) 
-- FAILED.​
​
    Build FAILED.​
​
    "C:\fltk-1.3.5\build\CMakeFiles\3.15.4\VCTargetsPath.vcxproj" (default 
target) (1) ->​
    (PrepareForBuild target) ->​
      C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(379,5):
 error MSB8020: The build tools for LLVM (Platform Toolset = 'LLVM') cannot be 
found. To build using the LLVM build tools, please install LLVM build tools.  
Alternatively, you may upgrade to the current Visual Studio tools by selecting 
the Project menu or right-click the solution, and then selecting "Retarget 
solution". [C:\fltk-1.3.5\build\CMakeFiles\3.15.4\VCTargetsPath.vcxproj]​
​
        0 Warning(s)​
        1 Error(s)​
​
    Time Elapsed 00:00:00.21​
​
​
  Exit code: 1​
​
​
​
-- Configuring incomplete, errors occurred!​
See also "C:/fltk-1.3.5/build/CMakeFiles/CMakeOutput.log".
"
For the latter it's similar.  Just change "'LLVM'" in the error message to 
"'LLVM'".
-- 

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

Reply via email to