mirror of
https://github.com/eclipse-openvehicle-api/openvehicle-api.git
synced 2026-04-21 11:38:16 +00:00
19
sdv_services/process_control/CMakeLists.txt
Normal file
19
sdv_services/process_control/CMakeLists.txt
Normal file
@@ -0,0 +1,19 @@
|
||||
# Define project
|
||||
project(process_control VERSION 1.0 LANGUAGES CXX)
|
||||
|
||||
# Define target
|
||||
add_library(process_control SHARED
|
||||
"process_control.h"
|
||||
"process_control.cpp")
|
||||
target_link_options(process_control PRIVATE)
|
||||
target_include_directories(process_control PRIVATE ./include/)
|
||||
target_link_libraries(process_control ${CMAKE_THREAD_LIBS_INIT})
|
||||
|
||||
set_target_properties(process_control PROPERTIES PREFIX "")
|
||||
set_target_properties(process_control PROPERTIES SUFFIX ".sdv")
|
||||
|
||||
# Build dependencies
|
||||
add_dependencies(process_control CompileCoreIDL)
|
||||
|
||||
# Appending the service in the service list
|
||||
set(SDV_Service_List ${SDV_Service_List} process_control PARENT_SCOPE)
|
||||
Reference in New Issue
Block a user