Trace Parser: add python output support
[platform/core/system/swap-manager.git] / src / cli / trace_parser / exe / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.8)
2 project(trace_parser)
3
4
5 find_package(Boost COMPONENTS program_options REQUIRED)
6
7 set(CMAKE_CXX_FLAGS "-Wall -Werror -std=c++1z")
8
9 set(SRC
10   ${CMAKE_CURRENT_SOURCE_DIR}/writers.cpp
11   ${CMAKE_CURRENT_SOURCE_DIR}/writer_text.cpp
12   ${CMAKE_CURRENT_SOURCE_DIR}/writer_py.cpp
13   ${CMAKE_CURRENT_SOURCE_DIR}/main.cpp
14 )
15
16 add_executable(${EXE_PROJECT_NAME} ${SRC})
17 add_dependencies(${EXE_PROJECT_NAME} ${LIB_PROJECT_NAME})
18 target_link_libraries(${EXE_PROJECT_NAME}
19   LINK_PUBLIC ${Boost_LIBRARIES}
20   LINK_PUBLIC ${LIB_PROJECT_NAME}
21 )