Descent3/dd_sndlib/CMakeLists.txt
Azamat H. Hackimov 4826c37a69 Add BUILD_INTERFACE to cfile module
Other modules that depends on it, can reuse includes on linking.
There some files formally not belonging any packages (lib directory), as workaround there temporary include_directories(cfile) on root of project. After migrating all modules this can be removed.
2024-04-24 00:41:02 +03:00

22 lines
311 B
CMake

set(HEADERS
auddev.h
ds3dlib_internal.h
eax.h
eax2.h
ia3dapi.h
Ia3dutil.h
vmanpset.h)
set(CPPS
aureal3d.cpp
ddsoundload.cpp
Ds3dlib.cpp
dsound3d.cpp
eax.cpp
geometry.cpp
ssl_lib.cpp)
add_library(dd_sndlib STATIC ${HEADERS} ${CPPS})
target_link_libraries(dd_sndlib PRIVATE
cfile
)