https://github.com/Kitware/CMake
Revision 96ea613f169cedc4087b536d95ca6c128b8f4eb6 authored by Brad King on 27 October 2020, 11:05:11 UTC, committed by Kitware Robot on 27 October 2020, 11:05:18 UTC
2b0d3c3524 CUDA: Use MSVC version to determine supported C++ standard levels

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5423
2 parent s 479a9df + 2b0d3c3
Raw File
Tip revision: 96ea613f169cedc4087b536d95ca6c128b8f4eb6 authored by Brad King on 27 October 2020, 11:05:11 UTC
Merge topic 'correct_msvc_cuda_flag_warning' into release-3.19
Tip revision: 96ea613
Embarcadero-DetermineCompiler.cmake

set(_compiler_id_pp_test "defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)")

set(_compiler_id_version_compute "
# define @PREFIX@COMPILER_VERSION_MAJOR @MACRO_HEX@(__CODEGEARC_VERSION__>>24 & 0x00FF)
# define @PREFIX@COMPILER_VERSION_MINOR @MACRO_HEX@(__CODEGEARC_VERSION__>>16 & 0x00FF)
# define @PREFIX@COMPILER_VERSION_PATCH @MACRO_DEC@(__CODEGEARC_VERSION__     & 0xFFFF)")
back to top