13 Commits

Author SHA1 Message Date
Peter Dimov
d85e1b557a Check that CMAKE_CXX_COMPILER_VERSION is set and if not, issue an error. Refs #74. 2024-09-09 13:20:42 +03:00
Peter Dimov
3f67136ec1 MSVC 19.40 is still vc143 2024-06-21 14:10:56 +03:00
Peter Dimov
56f7c5da02 Accept 'IntelLLVM' as a toolset name for 'intel'. Refs #60. 2022-11-16 16:12:56 +02:00
Peter Dimov
d819e4151c Add VS2022 to BoostDetectToolset.cmake; fixes #59 2022-02-12 18:57:24 +02:00
Chris Glover
85cb56a87e Detect clangw toolset when using any clang with the ms-abi
When compiling with clang, cmake only sets MSVC when using clang-cl as
it's meant as an indication of cl.exe command line compatibility.

In this case, if one is using clang++ with the ms-abi, cmake
incorrectly takes the else branch here and library detection fails.

If instead we use MSVC_VERSION, which is empty unless a compiler
with _MSC_VER set is being used, then we get the correct behaviour.

https://cmake.org/cmake/help/latest/variable/MSVC.html

https://cmake.org/cmake/help/latest/variable/MSVC_VERSION.html
2022-01-17 22:21:25 +00:00
Peter Dimov
063988d347 Update BoostDetectedToolset.cmake 2021-08-17 15:06:17 +03:00
Peter Dimov
da77cdfd76 Detect msvc-14.2 2019-03-24 17:55:42 +02:00
Peter Dimov
cefc9f10d9 Detect clang-cl as clangw 2019-03-03 05:58:05 +02:00
Peter Dimov
cef92ddbf1 Do not drop minor version from clang-darwin, to match b2 2019-01-13 15:53:09 +02:00
Peter Dimov
dcf4d89f0f Only add version to BOOST_DETECTED_TOOLSET when it's set 2019-01-13 15:50:35 +02:00
Peter Dimov
7fc64430e7 Fix msvc-14.1 detection; issue a message when the toolset is not detected 2019-01-10 07:17:52 +02:00
Peter Dimov
aa5ef99a86 Update BoostDetectToolset for gcc/clang 2018-10-09 19:46:43 +03:00
Peter Dimov
23ec01f93a Add BoostDetectToolset.cmake 2018-10-05 03:45:42 +03:00