diff options
author | Duncan Mac-Vicar P <duncan@kde.org> | 2011-03-31 22:26:51 +0400 |
---|---|---|
committer | Duncan Mac-Vicar P <duncan@kde.org> | 2011-03-31 22:26:51 +0400 |
commit | f22caca96bac2f91f21c97fad86d429bf8bfed3f (patch) | |
tree | e177a7d3930adab275ef64683191f987ac68534c /test/CMakeLists.txt | |
parent | 9ac0397ff9bdb682372c34ddb2ec10869c6aece8 (diff) |
- refactor tests repeat-myself with a cmake macro
- enable cmake testing
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r-- | test/CMakeLists.txt | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index e634e8352..c579ffcfc 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -3,10 +3,4 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR}) include_directories(${CMAKE_CURRENT_SOURCE_DIR}) include(${QT_USE_FILE}) -qt4_automoc(testfolderwatcher.cpp) -add_executable(testfolderwatcher testfolderwatcher.cpp) -target_link_libraries(testfolderwatcher ${QT_LIBRARIES} mirall_static) - -qt4_automoc(testunisonfolder.cpp) -add_executable(testunisonfolder testunisonfolder.cpp) -target_link_libraries(testunisonfolder ${QT_LIBRARIES} mirall_static) +add_tests(folderwatcher unisonfolder) |