summaryrefslogtreecommitdiffstats
path: root/test/unittest
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2019-10-06 15:05:09 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-10-11 14:30:42 +0200
commitc89294ff9d636159c5b16695449f256248af096f (patch)
tree5d979be96c4ce3580262f0ca6a97f5ced725dfb7 /test/unittest
parent074fd7751d29d66d42c7a79acd705c4fd6621933 (diff)
downloadlibcaldav-c89294ff9d636159c5b16695449f256248af096f.tar.gz
libcaldav-c89294ff9d636159c5b16695449f256248af096f.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> (cherry picked from commit 19b046ec429c32f88658352232e6cc92276dff97)
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}
+)