blob: eabe4cfd5c42ebccea8317e4af7ec16f41eef312 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#set( CMAKE_VERBOSE_MAKEFILE on )
include_directories(
${CMAKE_SOURCE_DIR}/src/components/rpc_base/include/
${CMAKE_SOURCE_DIR}/src/components/utils/include/
${JSONCPP_INCLUDE_DIRECTORY}
)
message(STATUS "Using ${EXTENDED_POLICY} policy mode")
if (${EXTENDED_POLICY} STREQUAL "EXTERNAL_PROPRIETARY")
include_directories(${CMAKE_SOURCE_DIR}/src/components/policy/policy_external/include/)
else()
include_directories(${CMAKE_SOURCE_DIR}/src/components/policy/policy_regular/include/)
endif()
link_directories (
${CMAKE_BINARY_DIR}/src/components/rpc_base/
)
set(LIBRARIES
policy_struct
rpc_base
)
set (SOURCES
main.cpp
)
add_executable(policyValidator ${SOURCES})
target_link_libraries(policyValidator ${LIBRARIES})
|