diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2020-08-19 20:41:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-08-21 13:17:27 (GMT) |
commit | 3ef0c40962312a97d5a083c79ec563045fe28de3 (patch) | |
tree | 1b6231bd299e24a59ab83e8af875d77a1e287ba3 /Tests/CMakeLists.txt | |
parent | 8de3a25ec34c4b2d3cd7e519d3c3607e81de34c4 (diff) | |
download | CMake-3ef0c40962312a97d5a083c79ec563045fe28de3.zip CMake-3ef0c40962312a97d5a083c79ec563045fe28de3.tar.gz CMake-3ef0c40962312a97d5a083c79ec563045fe28de3.tar.bz2 |
WIN32_EXECUTABLE: Add support for generator expressions
Diffstat (limited to 'Tests/CMakeLists.txt')
-rw-r--r-- | Tests/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index e4e09fa..5d4ffae 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -440,6 +440,10 @@ if(BUILD_TESTING) ADD_TEST_MACRO(CSharpOnly CSharpOnly) ADD_TEST_MACRO(CSharpLinkToCxx CSharpLinkToCxx) ADD_TEST_MACRO(CSharpLinkFromCxx CSharpLinkFromCxx) + ADD_TEST_MACRO(CSharpWin32GenEx CSharpWin32GenEx) + set_tests_properties(CSharpWin32GenEx PROPERTIES + PASS_REGULAR_EXPRESSION "Target \"CSharpWin32GenEx\" has a generator expression in its\n WIN32_EXECUTABLE property\\. This is not supported on managed executables\\." + ) endif() ADD_TEST_MACRO(COnly COnly) |