1
0
Fork 0
OpenLCP/protocol/osc/CMakeLists.txt

30 lines
659 B
CMake

project(${PROJECT_NAME}-osc VERSION ${PROJECT_VERSION})
add_library(${PROJECT_NAME} SHARED)
add_library(LCP::OSC ALIAS ${PROJECT_NAME})
target_sources(${PROJECT_NAME}
PUBLIC
argument.h
bundle.h
message.h
method.h
receiver.h
sender.h
PRIVATE
argument.cpp
bundle.cpp
message.cpp
method.cpp
receiver.cpp
sender.cpp
)
target_link_libraries(${PROJECT_NAME}
PUBLIC
LCP::BufferStream
)
set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${PROJECT_VERSION})
target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})