X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=CMakeLists.txt;h=3386c69542b166aa0d73e03f19b0c8fa0c992b00;hb=64fb306678517e3968a1ef50c4041a993959aeee;hp=4dfaf15896d322ef8498f67ff143db1c595e58cf;hpb=de83df7e2caaa7eb98d4165a691d3e9b494270e9;p=platform%2Fcore%2Fconnectivity%2Fstc-manager.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 4dfaf15..3386c69 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.6) -PROJECT(stc-manager C) +PROJECT(stc-manager C CXX) SET(PACKAGE ${PROJECT_NAME}) SET(INTERFACES "${CMAKE_SOURCE_DIR}/interfaces") SET(PREFIX ${CMAKE_INSTALL_PREFIX}) @@ -7,5 +7,10 @@ SET(LIBDIR ${PREFIX}/${LIB_PATH}) SET(DATA_DIR ${CMAKE_SOURCE_DIR}/data) +ADD_SUBDIRECTORY(interfaces) ADD_SUBDIRECTORY(src) ADD_SUBDIRECTORY(plugin) + +IF(BUILD_GTESTS) + ADD_SUBDIRECTORY(unittest) +ENDIF(BUILD_GTESTS)