2010-05-06 00:08:41 +00:00
|
|
|
FILE(GLOB SRC *.cpp *.h)
|
|
|
|
|
2010-08-11 12:41:10 +00:00
|
|
|
NL_TARGET_LIB(nelsound ${SRC})
|
2010-05-06 00:08:41 +00:00
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
2010-08-11 12:41:10 +00:00
|
|
|
TARGET_LINK_LIBRARIES(nelsound ${LIBXML2_LIBRARIES} nelmisc nelligo nelgeorges nel3d nelsnd_lowlevel)
|
2010-09-03 13:07:47 +00:00
|
|
|
NL_DEFAULT_PROPS(nelsound "NeL, Library: Sound")
|
2010-08-11 12:41:10 +00:00
|
|
|
|
2010-05-06 00:08:41 +00:00
|
|
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
|
|
|
|
2010-08-11 12:41:10 +00:00
|
|
|
NL_ADD_LIB_SUFFIX(nelsound)
|
2010-05-06 00:08:41 +00:00
|
|
|
|
2010-06-30 13:31:31 +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)
|
2010-06-25 06:33:15 +00:00
|
|
|
|
2010-08-11 12:41:10 +00:00
|
|
|
NL_GEN_PC(nel-sound.pc)
|
2010-05-06 00:08:41 +00:00
|
|
|
INSTALL(TARGETS nelsound LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries)
|
|
|
|
|
|
|
|
ADD_SUBDIRECTORY(driver)
|