move OTP to a submodule
This commit is contained in:
parent
3e648dc152
commit
c9377418fa
|
@ -16,12 +16,6 @@ endif()
|
|||
add_compile_definitions(BUILT_WITH_CMAKE)
|
||||
configure_file(config.h.in config.h)
|
||||
|
||||
#add_library(${PROJECT_NAME} SHARED)
|
||||
|
||||
# E1.56
|
||||
#include(otp/CMakeLists.txt)
|
||||
|
||||
|
||||
# Entertainment Services and Technology Association
|
||||
add_subdirectory(esta)
|
||||
|
||||
|
@ -30,16 +24,3 @@ add_subdirectory(ietf)
|
|||
|
||||
# Artistic License
|
||||
add_subdirectory(artistic)
|
||||
|
||||
#target_link_libraries(${PROJECT_NAME}
|
||||
# PUBLIC
|
||||
# LCP_ietf_uuid
|
||||
# LCP_esta_acn
|
||||
# LCP_esta_dmx
|
||||
# )
|
||||
|
||||
#set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${PROJECT_VERSION})
|
||||
#set_target_properties(${PROJECT_NAME} PROPERTIES SOVERSION ${PROJECT_VERSION})
|
||||
|
||||
#target_compile_definitions(${PROJECT_NAME} PUBLIC ${PROJECT_NAME}_LIBRARY)
|
||||
#target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
|
|
@ -10,3 +10,5 @@ add_subdirectory(rdm)
|
|||
add_subdirectory(sacn)
|
||||
# E1.33
|
||||
add_subdirectory(rdmnet)
|
||||
# E1.56
|
||||
add_subdirectory(otp)
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
project(${PROJECT_NAME}_otp VERSION 0.3.1 LANGUAGES CXX)
|
||||
|
||||
add_library(${PROJECT_NAME} SHARED)
|
||||
|
||||
target_sources(${PROJECT_NAME}
|
||||
PRIVATE
|
||||
advertisement.cpp
|
||||
advertisement.h
|
||||
base.cpp
|
||||
base.h
|
||||
otp.h
|
||||
pdu.cpp
|
||||
pdu.h
|
||||
transform.cpp
|
||||
transform.h
|
||||
)
|
||||
|
||||
target_link_libraries(${PROJECT_NAME}
|
||||
PUBLIC
|
||||
# LCP_ietf_uuid
|
||||
LCP_esta_acn_rlp
|
||||
# LCP_esta_rdm
|
||||
# LCP_esta_rdmnet_rpt
|
||||
)
|
||||
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${PROJECT_VERSION})
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES SOVERSION ${PROJECT_VERSION})
|
||||
|
||||
target_compile_definitions(${PROJECT_NAME} PUBLIC ${PROJECT_NAME}_LIBRARY)
|
||||
target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
#include "acn/pdu-stream.h"
|
||||
#include "../acn/pdu-stream.h"
|
||||
|
||||
#include <vector>
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
target_sources(${PROJECT_NAME}
|
||||
PRIVATE
|
||||
otp/advertisement.cpp
|
||||
otp/advertisement.h
|
||||
otp/base.cpp
|
||||
otp/base.h
|
||||
otp/otp.h
|
||||
otp/pdu.cpp
|
||||
otp/pdu.h
|
||||
otp/transform.cpp
|
||||
otp/transform.h
|
||||
)
|
Loading…
Reference in New Issue