summaryrefslogtreecommitdiffstats
path: root/test/unittest
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2019-10-06 15:05:09 +0200
committergregory guy <gregory-tde@laposte.net>2019-10-10 15:33:12 +0200
commit19b046ec429c32f88658352232e6cc92276dff97 (patch)
treee30dcea233469b21cc6981e03fd22b678cbcb22c /test/unittest
parentceb78a2a816a6b9614871764d7d18e3a6134bc0a (diff)
downloadlibcaldav-19b046ec429c32f88658352232e6cc92276dff97.tar.gz
libcaldav-19b046ec429c32f88658352232e6cc92276dff97.zip
Conversion to the cmake building system.
rfc4791.pdf has been moved to the doc folder. caldav pc file has been moved in the src folder. Signed-off-by: gregory guy <gregory-tde@laposte.net>
Diffstat (limited to 'test/unittest')
-rw-r--r--test/unittest/CMakeLists.txt20
1 files changed, 20 insertions, 0 deletions
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}
+)