platform增加CMakeLists

This commit is contained in:
luwenpeng
2023-01-10 09:57:29 +08:00
parent 364e5ccaf9
commit 4639d9ceaa
3 changed files with 13 additions and 2 deletions

7
platform/CMakeLists.txt Normal file
View File

@@ -0,0 +1,7 @@
add_executable(traffic-steering-service src/main.cpp)
target_include_directories(traffic-steering-service PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include/)
target_link_libraries(traffic-steering-service common)
target_link_libraries(traffic-steering-service pthread)
install(TARGETS traffic-steering-service RUNTIME DESTINATION bin COMPONENT Program)

4
platform/src/main.cpp Normal file
View File

@@ -0,0 +1,4 @@
int main(int argc, char **argv)
{
return 0;
}