summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorhwajeong.son <hwajeong.son@samsung.com>2018-08-20 04:20:53 (GMT)
committerhwajeong.son <hwajeong.son@samsung.com>2018-08-20 04:20:53 (GMT)
commit27763b024648b848430481a929d716038d887952 (patch)
treea5388eec33d3b55cbf75e2e1ea360c32de7de78f /CMakeLists.txt
parent81dc7d90889e619942f34c4a584768b4b3179445 (diff)
downloaddocker-adaptor-master.zip
docker-adaptor-master.tar.gz
docker-adaptor-master.tar.bz2
Signed-off-by: hwajeong.son <hwajeong.son@samsung.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..f5470cb
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,16 @@
+CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
+PROJECT(docker-adaptor C CXX)
+INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include)
+
+INCLUDE(FindPkgConfig)
+
+SET(EXTRA_CFLAGS "-Wall -Werror-implicit-function-declaration -fvisibility=hidden")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS}")
+
+SET(DOCKER-ADAPTOR ${PROJECT_NAME})
+
+ADD_SUBDIRECTORY(src)
+ADD_SUBDIRECTORY(src/lib)
+IF(BUILD_TESTS)
+ ADD_SUBDIRECTORY(unittest)
+ENDIF(BUILD_TESTS) \ No newline at end of file