2018-03-24 15:45:25 +01:00
|
|
|
set(sound_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/sound.cpp)
|
|
|
|
|
|
|
|
if(USE_SOUND)
|
|
|
|
set(sound_SRCS ${sound_SRCS}
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/sound_openal.cpp)
|
|
|
|
set(SOUND_INCLUDE_DIRS
|
|
|
|
${OPENAL_INCLUDE_DIR}
|
|
|
|
${VORBIS_INCLUDE_DIR}
|
|
|
|
${OGG_INCLUDE_DIR}
|
|
|
|
PARENT_SCOPE)
|
|
|
|
set(SOUND_LIBRARIES
|
|
|
|
${OPENAL_LIBRARY}
|
|
|
|
${VORBIS_LIBRARIES}
|
|
|
|
PARENT_SCOPE)
|
|
|
|
endif()
|
|
|
|
|
2015-02-21 11:51:12 +01:00
|
|
|
set(client_SRCS
|
2018-03-24 15:45:25 +01:00
|
|
|
${sound_SRCS}
|
2018-03-22 20:59:49 +01:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/meshgen/collector.cpp
|
2017-10-31 19:27:10 +01:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/render/anaglyph.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/render/core.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/render/factory.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/render/interlaced.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/render/pageflip.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/render/plain.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/render/sidebyside.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/render/stereo.cpp
|
2017-06-26 20:11:17 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/renderingengine.cpp
|
2015-02-21 11:51:12 +01:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/clientlauncher.cpp
|
2018-01-03 14:28:55 +01:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/gameui.cpp
|
2017-05-13 11:05:16 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/inputhandler.cpp
|
2015-03-05 11:52:57 +01:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/tile.cpp
|
2016-05-27 08:35:07 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/joystick_controller.cpp
|
2018-01-20 14:09:58 +01:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/hud.cpp
|
2015-02-21 11:51:12 +01:00
|
|
|
PARENT_SCOPE
|
2015-03-05 11:52:57 +01:00
|
|
|
)
|