diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/CMakeLists.txt | 1 | ||||
-rw-r--r-- | test/src/CMakeLists.txt | 20 | ||||
-rw-r--r-- | test/unittest/CMakeLists.txt | 20 |
3 files changed, 41 insertions, 0 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt new file mode 100644 index 0000000..d5b0f6d --- /dev/null +++ b/test/CMakeLists.txt @@ -0,0 +1 @@ +#add_subdirectory( ics ) diff --git a/test/src/CMakeLists.txt b/test/src/CMakeLists.txt new file mode 100644 index 0000000..947fc8a --- /dev/null +++ b/test/src/CMakeLists.txt @@ -0,0 +1,20 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/src + ${GTHREAD_INCLUDE_DIRS} +) + + +##### caldav-test (executable) + +tde_add_executable( caldav-test + + SOURCES + caldav-test.c + LINK + caldav-static + + DESTINATION ${BIN_INSTALL_DIR} +) diff --git a/test/unittest/CMakeLists.txt b/test/unittest/CMakeLists.txt new file mode 100644 index 0000000..1efdef2 --- /dev/null +++ b/test/unittest/CMakeLists.txt @@ -0,0 +1,20 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/src + ${GTHREAD_INCLUDE_DIRS} +) + + +##### unittest (executable) + +tde_add_executable( unittest + + SOURCES + libunit.c + LINK + caldav-static + + DESTINATION ${BIN_INSTALL_DIR} +) |