summaryrefslogtreecommitdiff
path: root/platform/CMakeLists.txt
blob: f4cc0b640bd892b68c6ae8dc753ca8d3e55c23f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
add_library(platform src/policy.cpp src/health_check.cpp src/sce.cpp src/packet_io.cpp src/global_metrics.cpp src/sf_metrics.cpp src/sf_status.cpp)
target_link_libraries(platform PUBLIC common)
target_link_libraries(platform PUBLIC pthread)
target_link_libraries(platform PUBLIC MESA_prof_load)
target_link_libraries(platform PUBLIC fieldstat4)
target_link_libraries(platform PUBLIC breakpad_mini)
target_link_libraries(platform PUBLIC maatframe)
target_link_libraries(platform PUBLIC mrzcpd)
target_link_libraries(platform PUBLIC cjson)
target_include_directories(platform PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include/)

add_executable(sce src/main.cpp)
target_link_libraries(sce PUBLIC platform)
install(TARGETS sce RUNTIME DESTINATION bin COMPONENT Program)

add_subdirectory(test)