Descent3/AudioEncode/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

20 lines
323 B
CMake

set(HEADERS
adecode.h
aencode.h
audio_encode.h)
set(CPPS
adecode.cpp
aencode.cpp
encoder.cpp
)
add_library(AudioEncode STATIC ${HEADERS} ${CPPS})
target_link_libraries(AudioEncode PRIVATE
libacm
)
target_include_directories(AudioEncode PUBLIC
$<BUILD_INTERFACE:
${PROJECT_SOURCE_DIR}/AudioEncode
>
)