Reorganize the header directory to distinguish the private headers 80/124280/1
authorMu-Woong Lee <muwoong.lee@samsung.com>
Tue, 11 Apr 2017 05:03:10 +0000 (14:03 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Tue, 11 Apr 2017 05:03:10 +0000 (14:03 +0900)
Change-Id: I171257c61fdf452eb93921a8343f2b4583da7b31
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
CMakeLists.txt
include/private/SensorRecorderService.h [moved from include/SensorRecorderService.h with 100% similarity]
src/client-dummy/CMakeLists.txt
src/client/CMakeLists.txt
src/server-dummy/CMakeLists.txt
src/server/CMakeLists.txt

index 946d2c7..b735be0 100644 (file)
@@ -7,7 +7,6 @@ SET(INCDIR "${CMAKE_INSTALL_INCLUDEDIR}/context-service")
 
 INCLUDE_DIRECTORIES(
        ${CMAKE_INSTALL_PREFIX}/${INCDIR}/private
-       ${CMAKE_SOURCE_DIR}/include
        ${CMAKE_SOURCE_DIR}/src/shared
 )
 
@@ -21,15 +20,8 @@ SET(PC_INCLUDE "${CMAKE_INSTALL_PREFIX}/${INCDIR}")
 SET(PC_LIBDIR "${CMAKE_INSTALL_LIBDIR}")
 
 INSTALL(
-       FILES ${CMAKE_SOURCE_DIR}/include/SensorRecorderService.h
-       DESTINATION ${INCDIR}/private
-)
-INSTALL(
        DIRECTORY ${CMAKE_SOURCE_DIR}/include/
        DESTINATION ${INCDIR}
-       FILES_MATCHING
-       PATTERN "*.h"
-       PATTERN "SensorRecorderService.h" EXCLUDE
 )
 
 ADD_SUBDIRECTORY(src/client-dummy)
index 536f8a1..e768488 100644 (file)
@@ -2,6 +2,10 @@ SET(target "${PROJECT_NAME}-client")
 
 SET(DEPS "${DEPS} context-common-client")
 
+INCLUDE_DIRECTORIES(
+       ${CMAKE_SOURCE_DIR}/include
+)
+
 FILE(GLOB_RECURSE SRCS *.cpp)
 MESSAGE("Sources: ${SRCS}")
 
index 8f551d7..2e6ef32 100644 (file)
@@ -2,6 +2,10 @@ SET(target "${PROJECT_NAME}-client-genuine")
 
 SET(DEPS "${DEPS} context-common-client")
 
+INCLUDE_DIRECTORIES(
+       ${CMAKE_SOURCE_DIR}/include
+)
+
 FILE(GLOB_RECURSE SRCS *.cpp ../shared/*.cpp)
 MESSAGE("Sources: ${SRCS}")
 
index e0dcdd5..62ba1e9 100644 (file)
@@ -2,6 +2,10 @@ SET(target "${PROJECT_NAME}-server")
 
 SET(DEPS "${DEPS} context-common-server")
 
+INCLUDE_DIRECTORIES(
+       ${CMAKE_SOURCE_DIR}/include/private
+)
+
 FILE(GLOB_RECURSE SRCS *.cpp)
 MESSAGE("Sources: ${SRCS}")
 
index 64a741f..839d274 100644 (file)
@@ -2,6 +2,10 @@ SET(target "${PROJECT_NAME}-server-genuine")
 
 SET(DEPS "${DEPS} context-common-server")
 
+INCLUDE_DIRECTORIES(
+       ${CMAKE_SOURCE_DIR}/include/private
+)
+
 FILE(GLOB_RECURSE SRCS *.cpp ../shared/*.cpp)
 MESSAGE("Sources: ${SRCS}")