mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 19:55:23 +00:00
60c5dbf1fe
This can help with CMake IDE integration and file indexing.
25 lines
345 B
CMake
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
|
|
>
|
|
)
|