summaryrefslogtreecommitdiff
path: root/testcases/CMakeLists.txt
diff options
context:
space:
mode:
authorjk7744.park <jk7744.park@samsung.com>2015-10-24 17:02:19 +0900
committerjk7744.park <jk7744.park@samsung.com>2015-10-24 17:02:19 +0900
commit02691f1cc2c4bc6c12a0bd2ffd63f3323161812d (patch)
tree2700fd5ccfb482254983574ebc4422c0a3988c74 /testcases/CMakeLists.txt
parent84196f7d180a9937aee675f79534022830169121 (diff)
downloadsecure-storage-tizen_2.4.tar.gz
secure-storage-tizen_2.4.tar.bz2
secure-storage-tizen_2.4.zip
Diffstat (limited to 'testcases/CMakeLists.txt')
-rw-r--r--testcases/CMakeLists.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/testcases/CMakeLists.txt b/testcases/CMakeLists.txt
new file mode 100644
index 0000000..710064f
--- /dev/null
+++ b/testcases/CMakeLists.txt
@@ -0,0 +1,26 @@
+SET(SS_CLIENT_TEST_PATH ${PROJECT_SOURCE_DIR}/testcases)
+
+SET(SS_CLIENT_TEST_SOURCES
+ ${SS_CLIENT_TEST_PATH}/test_ss_manager.c
+ #${SS_CLIENT_TEST_PATH}/test_manager.c
+ #${SS_CLIENT_TEST_PATH}/ss_test.c
+ #${SS_CLIENT_TEST_PATH}/unit_test.c
+ )
+
+SET_SOURCE_FILES_PROPERTIES(
+ ${SS_CLIENT_TEST_SOURCES}
+ PROPERTIES
+ COMPILE_FLAGS "-D_GNU_SOURCE -fPIE")
+
+INCLUDE_DIRECTORIES(
+ ${PROJECT_SOURCE_DIR}/include
+ ${PROJECT_SOURCE_DIR}/client/
+ )
+
+ADD_EXECUTABLE(${TARGET_SS_CLIENT_TEST} ${SS_CLIENT_TEST_SOURCES})
+
+TARGET_LINK_LIBRARIES(${TARGET_SS_CLIENT_TEST}
+ ${TARGET_SS_CLIENT}
+ )
+
+INSTALL(TARGETS ${TARGET_SS_CLIENT_TEST} DESTINATION bin)