On Thu, 24 Oct 2019 at 20:28, Osman Zakir wrote:
>
> Hi. I tried to specify the LLVM Toolset for VS2019 by doing '-T LLVM' and also '-T llvm' but it failed both times.
For me '-T ClangCL' seems to have worked (provided that you install
Clang with VS 2019, of course).
(To figure out the potentially correct value I looked into the xml
project file generated when I manually changed the toolset and saved
the project.)
Under 2017 this was a separate 'plugin' (or whatever it was called),
while VS 2019 provides it natively.
What I could not get working correctly under this CMake-generated
setup are the unit tests for CUDA (there must be some faulty compiler
flags).
Mojca
--
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
>
> Hi. I tried to specify the LLVM Toolset for VS2019 by doing '-T LLVM' and also '-T llvm' but it failed both times.
For me '-T ClangCL' seems to have worked (provided that you install
Clang with VS 2019, of course).
(To figure out the potentially correct value I looked into the xml
project file generated when I manually changed the toolset and saved
the project.)
Under 2017 this was a separate 'plugin' (or whatever it was called),
while VS 2019 provides it natively.
What I could not get working correctly under this CMake-generated
setup are the unit tests for CUDA (there must be some faulty compiler
flags).
Mojca
--
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 Visual Studio 16 2019 Free
Visual Studio 2019 version 16.5 brings several improvements to the C cross-platform and CMake development experience. Starting with this release, you're now able to interact with your stored remote connections over the command line. 1 CMake Does not match the generator used previously: Visual Studio 16 2019 1 CMake Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory. After a bit of facepalm I deleted all possible temporary folders (which by now accumulted to 4GB!), and updated the root CMakeLists.txt, so the.