diff options
author | Daniel Eiband <daniel.eiband@brainlab.com> | 2019-08-28 11:57:52 (GMT) |
---|---|---|
committer | Daniel Eiband <daniel.eiband@brainlab.com> | 2019-09-09 13:43:15 (GMT) |
commit | ff5028c5318c5d404390d8114d9453fc81fa9a33 (patch) | |
tree | ba70af3296671bcb05410ec2e53acb5421eaa4f6 /Tests/RunCMake/CMakeLists.txt | |
parent | 6db8f6a410d99e9a66847530bb520b329d2f1a9e (diff) | |
download | CMake-ff5028c5318c5d404390d8114d9453fc81fa9a33.zip CMake-ff5028c5318c5d404390d8114d9453fc81fa9a33.tar.gz CMake-ff5028c5318c5d404390d8114d9453fc81fa9a33.tar.bz2 |
Windows: Prevent auto exports to be regenerated on every build
Check modified time stamps of input files against an existing exports file
before generating the auto exports.
Fixes: #19650
Diffstat (limited to 'Tests/RunCMake/CMakeLists.txt')
-rw-r--r-- | Tests/RunCMake/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt index 8fd5234..c663484 100644 --- a/Tests/RunCMake/CMakeLists.txt +++ b/Tests/RunCMake/CMakeLists.txt @@ -543,7 +543,7 @@ set(cpack_tests add_RunCMake_test_group(CPack "${cpack_tests}") # add a test to make sure symbols are exported from a shared library # for MSVC compilers CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS property is used -add_RunCMake_test(AutoExportDll) +add_RunCMake_test(AutoExportDll -DCMAKE_CXX_COMPILER_ID=${CMAKE_CXX_COMPILER_ID}) add_RunCMake_test(AndroidMK) |