darling-openal/CMakeLists.txt
2022-12-10 17:05:23 -08:00

39 lines
713 B
CMake

project(OpenAL)
set(DYLIB_COMPAT_VERSION "1.0.0")
set(DYLIB_CURRENT_VERSION "1.0.0")
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/Source/OpenAL
${CMAKE_CURRENT_SOURCE_DIR}/Source/OpenAL/al
${CMAKE_SOURCE_DIR}/src/frameworks
)
add_definitions(-DSizeOf32=sizeof)
set(openal_sources
Source/OpenAL/oalBuffer.cpp
Source/OpenAL/oalCaptureDevice.cpp
Source/OpenAL/oalCaptureMixer.cpp
Source/OpenAL/oalContext.cpp
Source/OpenAL/oalDevice.cpp
Source/OpenAL/oalImp.cpp
Source/OpenAL/oalOSX.cpp
Source/OpenAL/oalRingBuffer.cpp
Source/OpenAL/oalSource.cpp
)
add_framework(OpenAL
FAT
CURRENT_VERSION
VERSION "A"
SOURCES
${openal_sources}
DEPENDENCIES
system
cxx
)