mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-07-31 08:49:17 +02:00
part 2?
This commit is contained in:
+6
-1
@@ -18,12 +18,17 @@ file(GLOB MODULATION_FILES "modulation/*.c")
|
||||
file(GLOB DSP_FILES "dsp/*.c")
|
||||
file(GLOB IO_FILES "io/*.c")
|
||||
|
||||
file(GLOB INIH_FILES "inih/*.c")
|
||||
|
||||
add_library(inih OBJECT ${INIH_FILES})
|
||||
|
||||
# add_library(libfm OBJECT ${LIB_FILES})
|
||||
add_library(libfmfilter OBJECT ${FILTER_FILES})
|
||||
add_library(libfmmodulation OBJECT ${MODULATION_FILES})
|
||||
add_library(libfmdsp OBJECT ${DSP_FILES})
|
||||
add_library(libfmio OBJECT ${IO_FILES})
|
||||
|
||||
|
||||
# Define DEBUG macro for Debug builds on libraries
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
# target_compile_definitions(libfm PRIVATE DEBUG=1)
|
||||
@@ -33,7 +38,7 @@ if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
target_compile_definitions(libfmio PRIVATE DEBUG=1)
|
||||
endif()
|
||||
|
||||
set(FM_LIBS libfmfilter libfmmodulation libfmio libfmdsp pulse pulse-simple m liquid)
|
||||
set(FM_LIBS inih libfmfilter libfmmodulation libfmio libfmdsp pulse pulse-simple m liquid)
|
||||
|
||||
foreach(SRC_FILE ${SRC_FILES})
|
||||
get_filename_component(EXEC_NAME ${SRC_FILE} NAME_WE)
|
||||
|
||||
Reference in New Issue
Block a user