Descent3/music/CMakeLists.txt
Louis Gombert 60c5dbf1fe CMake: add all headers to target sources
This can help with CMake IDE integration and file indexing.
2024-08-09 17:09:14 +02:00

25 lines
345 B
CMake

set(HEADERS
music.h
musiclib.h)
set(CPPS
omflex.cpp
sequencer.cpp
streamer.cpp
tracklist.cpp)
add_library(music STATIC ${HEADERS} ${CPPS})
target_link_libraries(music
AudioEncode
cfile
ddio
mem
misc
sndlib
stream_audio
)
target_include_directories(music PUBLIC
$<BUILD_INTERFACE:
${PROJECT_SOURCE_DIR}/music
>
)