diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-01-03 13:57:31 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-01-03 14:09:58 (GMT) |
commit | b3e86f4e976562913bbe322bd2856a75a1542b27 (patch) | |
tree | 9da8ac2f4eccfba771a5fbf346a2315bc33417b9 /Tests/CompileFeatures/genex_test.cpp | |
parent | 24dfa74214bba9ac80e675e0cf7d13d72474f652 (diff) | |
download | CMake-b3e86f4e976562913bbe322bd2856a75a1542b27.zip CMake-b3e86f4e976562913bbe322bd2856a75a1542b27.tar.gz CMake-b3e86f4e976562913bbe322bd2856a75a1542b27.tar.bz2 |
Features: Test an expectation of whether OVERRIDE_CONTROL is expected
The tests below test the presence of both cxx_final and cxx_override,
only one of which is supported by MSVC. The test is in part intended
to verify that the COMPILE_FEATURES genex supports multiple arguments
and allows users to define names for groups of features (Clang already
calls cxx_final and cxx_override 'override control' as a group). Keep
the test, and allow the expectation to be set as appropriate.
Diffstat (limited to 'Tests/CompileFeatures/genex_test.cpp')
-rw-r--r-- | Tests/CompileFeatures/genex_test.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/CompileFeatures/genex_test.cpp b/Tests/CompileFeatures/genex_test.cpp index ca38883..46b1942 100644 --- a/Tests/CompileFeatures/genex_test.cpp +++ b/Tests/CompileFeatures/genex_test.cpp @@ -1,6 +1,8 @@ #if !HAVE_OVERRIDE_CONTROL +#if EXPECT_OVERRIDE_CONTROL #error "Expect override control feature" +#endif #else struct A |