diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-08-27 18:17:29 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-08-27 18:17:29 (GMT) |
commit | ee9dcc95b452903a09e169f2e31f6c94db3b9899 (patch) | |
tree | b4f5646319e50e17ab3e45676844da6da7b87ac3 /Tests | |
parent | 5bd9f5811d604fca0dbf10ae65b0e1eb80046f9e (diff) | |
download | CMake-ee9dcc95b452903a09e169f2e31f6c94db3b9899.zip CMake-ee9dcc95b452903a09e169f2e31f6c94db3b9899.tar.gz CMake-ee9dcc95b452903a09e169f2e31f6c94db3b9899.tar.bz2 |
ENH: add the source_group() demo to the tests
Alex
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/CMakeLists.txt | 1 | ||||
-rw-r--r-- | Tests/SourceGroups/CMakeLists.txt | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index eb5267f..5a8f5d1 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -48,6 +48,7 @@ IF(BUILD_TESTING) ADD_TEST_MACRO(Framework bar) ADD_TEST_MACRO(Properties Properties) ADD_TEST_MACRO(Assembler HelloAsm) + ADD_TEST_MACRO(SourceGroups SourceGroups) # add tests with more complex invocations ADD_TEST(TargetName ${CMAKE_CTEST_COMMAND} diff --git a/Tests/SourceGroups/CMakeLists.txt b/Tests/SourceGroups/CMakeLists.txt index 15fdee2..b0b2405 100644 --- a/Tests/SourceGroups/CMakeLists.txt +++ b/Tests/SourceGroups/CMakeLists.txt @@ -1,3 +1,12 @@ +project(SourceGroups) + +# this is not really a test which can fail +# it is more an example with several source_group() +# commands. +# The created projects have to be loaded manually +# in Visual Studio/XCode/Eclipse/... +# to see whether the correct groups have been created. + source_group(Base FILES main.c) # a sub group |