summaryrefslogtreecommitdiff
path: root/tools/policy_table_validator/CMakeLists.txt
blob: 7628a13b938f0bc19dc2a634120cd62df6548b75 (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 "use ${EXTENDED_POLICY} poicy")
if (${EXTENDED_POLICY} STREQUAL "EXTENDED_PROPRIETARY")
  include_directories(${CMAKE_SOURCE_DIR}/src/components/policy/policy_premium/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})