2010-08-20 11:27:17 +00:00
|
|
|
FILE(GLOB SRC *.cpp *.h)
|
|
|
|
|
|
|
|
NL_TARGET_LIB(nelsound ${SRC})
|
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
2010-09-01 21:30:06 +00:00
|
|
|
|
2010-08-20 11:27:17 +00:00
|
|
|
TARGET_LINK_LIBRARIES(nelsound ${LIBXML2_LIBRARIES} nelmisc nelligo nelgeorges nel3d nelsnd_lowlevel)
|
2010-09-01 21:30:06 +00:00
|
|
|
SET_TARGET_PROPERTIES(nelsound PROPERTIES LINK_INTERFACE_LIBRARIES "")
|
2010-08-20 11:27:17 +00:00
|
|
|
NL_DEFAULT_PROPS(nelsound "Library: NeL Sound")
|
|
|
|
|
|
|
|
NL_ADD_LIB_SUFFIX(nelsound)
|
|
|
|
|
2010-09-01 21:30:06 +00:00
|
|
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
|
|
|
|
2010-08-20 11:27:17 +00:00
|
|
|
IF(WITH_PCH)
|
|
|
|
ADD_NATIVE_PRECOMPILED_HEADER(nelsound ${CMAKE_CURRENT_SOURCE_DIR}/stdsound.h ${CMAKE_CURRENT_SOURCE_DIR}/stdsound.cpp)
|
|
|
|
ENDIF(WITH_PCH)
|
|
|
|
|
|
|
|
NL_GEN_PC(nel-sound.pc)
|
|
|
|
INSTALL(TARGETS nelsound LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries)
|
|
|
|
|
|
|
|
ADD_SUBDIRECTORY(driver)
|