mirror of
https://github.com/baresip/baresip
synced 2026-08-07 00:26:06 -04:00
* cmake: refactor module detection Move find_package dependency detection to cmake module subdirectory * migrate static modules * fix set_target_properties * more modules * system matching modules * more modules * add portaudio * fix APP_MODULES and avoid duplicate modules
13 lines
268 B
CMake
13 lines
268 B
CMake
project(debug_cmd)
|
|
|
|
list(APPEND MODULES_DETECTED ${PROJECT_NAME})
|
|
set(MODULES_DETECTED ${MODULES_DETECTED} PARENT_SCOPE)
|
|
|
|
set(SRCS debug_cmd.c)
|
|
|
|
if(STATIC)
|
|
add_library(${PROJECT_NAME} OBJECT ${SRCS})
|
|
else()
|
|
add_library(${PROJECT_NAME} MODULE ${SRCS})
|
|
endif()
|
|
|