11 lines
560 B
CMake
11 lines
560 B
CMake
set(CFLAGS -O3 -g -Wall -Werror -Wextra -std=c2x)
|
|
|
|
add_library(echo_ppd SHARED ${CMAKE_CURRENT_SOURCE_DIR}/echo/ppd_mod.c)
|
|
target_compile_options(echo_ppd PRIVATE ${CFLAGS})
|
|
target_include_directories(echo_ppd PRIVATE ${CMAKE_SOURCE_DIR}/include)
|
|
set_target_properties(echo_ppd PROPERTIES PREFIX "")
|
|
|
|
add_library(echo_dsmbr SHARED ${CMAKE_CURRENT_SOURCE_DIR}/echo/dsmbr_mod.c)
|
|
target_compile_options(echo_dsmbr PRIVATE ${CFLAGS})
|
|
target_include_directories(echo_dsmbr PRIVATE ${CMAKE_SOURCE_DIR}/include)
|
|
set_target_properties(echo_dsmbr PROPERTIES PREFIX "") |