|
|
|
|
@ -205,6 +205,7 @@ option(DEBUG_P25_LDU1 "" off)
|
|
|
|
|
option(DEBUG_P25_LDU2 "" off)
|
|
|
|
|
option(DEBUG_P25_TDULC "" off)
|
|
|
|
|
option(DEBUG_P25_TSBK "" off)
|
|
|
|
|
option(FORCE_TSBK_CRC_WARN "" off)
|
|
|
|
|
option(DEBUG_P25_DFSI "" off)
|
|
|
|
|
option(DEBUG_RINGBUFFER "" off)
|
|
|
|
|
option(DEBUG_HTTP_PAYLOAD "" off)
|
|
|
|
|
@ -257,6 +258,9 @@ endif (DEBUG_P25_TDULC)
|
|
|
|
|
if (DEBUG_P25_TSBK)
|
|
|
|
|
add_definitions(-DDEBUG_P25_TSBK)
|
|
|
|
|
endif (DEBUG_P25_TSBK)
|
|
|
|
|
if (FORCE_TSBK_CRC_WARN)
|
|
|
|
|
add_definitions(-DFORCE_TSBK_CRC_WARN)
|
|
|
|
|
endif (FORCE_TSBK_CRC_WARN)
|
|
|
|
|
if (DEBUG_P25_DFSI)
|
|
|
|
|
add_definitions(-DDEBUG_P25_DFSI)
|
|
|
|
|
endif (DEBUG_P25_DFSI)
|
|
|
|
|
@ -354,6 +358,9 @@ add_executable(dvmhost ${dvmhost_SRC})
|
|
|
|
|
target_include_directories(dvmhost PRIVATE .)
|
|
|
|
|
target_link_libraries(dvmhost PRIVATE asio::asio Threads::Threads util)
|
|
|
|
|
|
|
|
|
|
set(CPACK_SET_DESTDIR true)
|
|
|
|
|
set(CPACK_PACKAGING_INSTALL_PREFIX "/opt/dvm")
|
|
|
|
|
|
|
|
|
|
set(CPACK_GENERATOR "DEB")
|
|
|
|
|
set(CPACK_PACKAGE_NAME "dvmhost")
|
|
|
|
|
set(CPACK_DEBIAN_PACKAGE_NAME "dvmhost")
|
|
|
|
|
|