diff options
author | Brad King <brad.king@kitware.com> | 2014-12-23 00:55:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-12-23 01:13:40 (GMT) |
commit | 07fc7b75ef981300e7d873091ee90083b18d1c4a (patch) | |
tree | c869f64c456c00ccfccf81de7b8baa0e0a081881 /Tests/CMakeLists.txt | |
parent | fdbfcfdf0173c34845e495f4c0bd407faafc45b4 (diff) | |
download | CMake-07fc7b75ef981300e7d873091ee90083b18d1c4a.zip CMake-07fc7b75ef981300e7d873091ee90083b18d1c4a.tar.gz CMake-07fc7b75ef981300e7d873091ee90083b18d1c4a.tar.bz2 |
Tests: Test using objects from a language enabled in a subdirectory (#15325)
Add a test case that enables CXX in the top level and C in a subdirectory.
Create an executable in the top level that uses C objects compiled in the
subdirectory. Strictly speaking this is not defined behavior for all
language combinations, but happens to work in this case. Test this
behavior since projects might try to use it.
Diffstat (limited to 'Tests/CMakeLists.txt')
-rw-r--r-- | Tests/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index a9cad14..f654330 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -255,6 +255,7 @@ if(BUILD_TESTING) endif() ADD_TEST_MACRO(COnly COnly) ADD_TEST_MACRO(CxxOnly CxxOnly) + ADD_TEST_MACRO(CxxSubdirC CxxSubdirC) ADD_TEST_MACRO(IPO COnly/COnly) ADD_TEST_MACRO(OutDir runtime/OutDir) ADD_TEST_MACRO(ObjectLibrary UseCshared) |