diff options
author | Luca Cappa <lucappa@microsoft.com> | 2019-03-19 20:52:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-05-14 17:27:18 (GMT) |
commit | 2a9ff9703e20172ca14b6c872b300d0dbb75f5da (patch) | |
tree | 62541895769c282e435393895121f8573d2cdc06 /Tests/RunCMake/CMakeLists.txt | |
parent | fa077acba51393030586aa50f5eff9d6034c5c11 (diff) | |
download | CMake-2a9ff9703e20172ca14b6c872b300d0dbb75f5da.zip CMake-2a9ff9703e20172ca14b6c872b300d0dbb75f5da.tar.gz CMake-2a9ff9703e20172ca14b6c872b300d0dbb75f5da.tar.bz2 |
MSVC: Add support for /JMC (Just My Code)
Diffstat (limited to 'Tests/RunCMake/CMakeLists.txt')
-rw-r--r-- | Tests/RunCMake/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt index 2b78171..d57138b 100644 --- a/Tests/RunCMake/CMakeLists.txt +++ b/Tests/RunCMake/CMakeLists.txt @@ -360,7 +360,10 @@ if("${CMAKE_GENERATOR}" MATCHES "Visual Studio") endif() if("${CMAKE_GENERATOR}" MATCHES "Visual Studio ([^9]|9[0-9])") - add_RunCMake_test(VS10Project) + add_RunCMake_test(VS10Project + -DCMAKE_C_COMPILER_ID=${CMAKE_C_COMPILER_ID} + -DCMAKE_C_COMPILER_VERSION=${CMAKE_C_COMPILER_VERSION} + ) if( vs12 AND wince ) add_RunCMake_test( VS10ProjectWinCE "-DRunCMake_GENERATOR_PLATFORM=${wince_sdk}") endif() |