1 FILE(GLOB SRC *.cpp *.h)
2 FILE(GLOB HEADERS ../../../include/nel/sound/driver/*.h)
4 NL_TARGET_LIB(nelsnd_lowlevel ${HEADERS} ${SRC})
6 TARGET_LINK_LIBRARIES(nelsnd_lowlevel nelmisc)
7 NL_DEFAULT_PROPS(nelsnd_lowlevel "NeL, Library: Sound Lowlevel")
8 NL_ADD_RUNTIME_FLAGS(nelsnd_lowlevel)
9 NL_ADD_STATIC_SND_DRIVERS(nelsnd_lowlevel)
11 NL_ADD_LIB_SUFFIX(nelsnd_lowlevel)
14 ADD_NATIVE_PRECOMPILED_HEADER(nelsnd_lowlevel ${CMAKE_CURRENT_SOURCE_DIR}/stdsound_lowlevel.h ${CMAKE_CURRENT_SOURCE_DIR}/stdsound_lowlevel.cpp)
17 IF((WITH_INSTALL_LIBRARIES AND WITH_STATIC) OR NOT WITH_STATIC)
18 INSTALL(TARGETS nelsnd_lowlevel LIBRARY DESTINATION ${NL_LIB_PREFIX} ARCHIVE DESTINATION ${NL_LIB_PREFIX} COMPONENT libraries)
21 IF(WITH_DRIVER_OPENAL)
22 ADD_SUBDIRECTORY(openal)
26 ADD_SUBDIRECTORY(fmod)
29 IF(WITH_DRIVER_DSOUND)
30 ADD_SUBDIRECTORY(dsound)
33 IF(WITH_DRIVER_XAUDIO2)
34 ADD_SUBDIRECTORY(xaudio2)