summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt46
1 files changed, 23 insertions, 23 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index ab52cdd..92faf28 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -96,7 +96,7 @@ tde_add_executable( rosegardensequencer AUTOMOC
target_link_libraries( rosegardensequencer dl )
-ADD_DEPENDENCIES(rosegardensequencer RosegardenCommon-static)
+add_dependencies(rosegardensequencer RosegardenCommon-static)
##### RosegardenExtended ############################
@@ -136,19 +136,19 @@ tde_add_executable( rosegarden AUTOMOC
target_link_libraries( rosegarden dl )
target_link_libraries( rosegarden tdeprint-shared )
-ADD_DEPENDENCIES(rosegarden RosegardenExtended-static)
-ADD_DEPENDENCIES(rosegarden RosegardenSegmentCanvas-static)
-ADD_DEPENDENCIES(rosegarden RosegardenCommands-static)
-ADD_DEPENDENCIES(rosegarden RosegardenCommon-static)
-ADD_DEPENDENCIES(rosegarden RosegardenExtended-static)
-ADD_DEPENDENCIES(rosegarden RosegardenSegmentCanvas-static)
-ADD_DEPENDENCIES(rosegarden RosegardenCommands-static)
-ADD_DEPENDENCIES(rosegarden RosegardenCommon-static)
+add_dependencies(rosegarden RosegardenExtended-static)
+add_dependencies(rosegarden RosegardenSegmentCanvas-static)
+add_dependencies(rosegarden RosegardenCommands-static)
+add_dependencies(rosegarden RosegardenCommon-static)
+add_dependencies(rosegarden RosegardenExtended-static)
+add_dependencies(rosegarden RosegardenSegmentCanvas-static)
+add_dependencies(rosegarden RosegardenCommands-static)
+add_dependencies(rosegarden RosegardenCommon-static)
if( WANT_TEST )
include( TestFileList.txt )
- CREATE_TEST_SOURCELIST(RosegardenTest
+ create_test_sourcelist(RosegardenTest
RosegardenTestDriver.cpp
${tests_SRCS}
# base/test/transpose.cpp
@@ -161,18 +161,18 @@ if( WANT_TEST )
DESTINATION ${BIN_INSTALL_DIR}
)
- ADD_DEPENDENCIES(RosegardenTestDriver RosegardenExtended-static)
- ADD_DEPENDENCIES(RosegardenTestDriver RosegardenSegmentCanvas-static)
- ADD_DEPENDENCIES(RosegardenTestDriver RosegardenCommands-static)
- ADD_DEPENDENCIES(RosegardenTestDriver RosegardenCommon-static)
- ADD_DEPENDENCIES(RosegardenTestDriver RosegardenExtended-static)
- ADD_DEPENDENCIES(RosegardenTestDriver RosegardenSegmentCanvas-static)
- ADD_DEPENDENCIES(RosegardenTestDriver RosegardenCommands-static)
- ADD_DEPENDENCIES(RosegardenTestDriver RosegardenCommon-static)
-
- FOREACH(currenttest ${tests_SRCS})
- GET_FILENAME_COMPONENT(TestName ${currenttest} NAME_WE)
- ADD_TEST(test/${TestName} RosegardenTestDriver test/${TestName})
- ENDFOREACH(currenttest ${tests_SRCS})
+ add_dependencies(RosegardenTestDriver RosegardenExtended-static)
+ add_dependencies(RosegardenTestDriver RosegardenSegmentCanvas-static)
+ add_dependencies(RosegardenTestDriver RosegardenCommands-static)
+ add_dependencies(RosegardenTestDriver RosegardenCommon-static)
+ add_dependencies(RosegardenTestDriver RosegardenExtended-static)
+ add_dependencies(RosegardenTestDriver RosegardenSegmentCanvas-static)
+ add_dependencies(RosegardenTestDriver RosegardenCommands-static)
+ add_dependencies(RosegardenTestDriver RosegardenCommon-static)
+
+ foreach(currenttest ${tests_SRCS})
+ get_filename_component(TestName ${currenttest} NAME_WE)
+ add_test(test/${TestName} RosegardenTestDriver test/${TestName})
+ endforeach(currenttest ${tests_SRCS})
endif( WANT_TEST )