parent
5bd9f5811d
commit
ee9dcc95b4
|
@ -48,6 +48,7 @@ IF(BUILD_TESTING)
|
||||||
ADD_TEST_MACRO(Framework bar)
|
ADD_TEST_MACRO(Framework bar)
|
||||||
ADD_TEST_MACRO(Properties Properties)
|
ADD_TEST_MACRO(Properties Properties)
|
||||||
ADD_TEST_MACRO(Assembler HelloAsm)
|
ADD_TEST_MACRO(Assembler HelloAsm)
|
||||||
|
ADD_TEST_MACRO(SourceGroups SourceGroups)
|
||||||
|
|
||||||
# add tests with more complex invocations
|
# add tests with more complex invocations
|
||||||
ADD_TEST(TargetName ${CMAKE_CTEST_COMMAND}
|
ADD_TEST(TargetName ${CMAKE_CTEST_COMMAND}
|
||||||
|
|
|
@ -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)
|
source_group(Base FILES main.c)
|
||||||
|
|
||||||
# a sub group
|
# a sub group
|
||||||
|
|
Loading…
Reference in New Issue