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
|
2018-12-13 20:18:54 +01:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/activeobjectmgr.cpp
|
2018-11-28 20:01:49 +01:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/camera.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/client.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/clientenvironment.cpp
|
2015-02-21 11:51:12 +01:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/clientlauncher.cpp
|
2018-11-28 20:01:49 +01:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/clientmap.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/clientmedia.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/clientobject.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/clouds.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/content_cao.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/content_cso.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/content_mapblock.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/filecache.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/fontengine.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/game.cpp
|
2018-01-03 14:28:55 +01:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/gameui.cpp
|
2018-11-28 20:01:49 +01:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/guiscalingfilter.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/hud.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/imagefilters.cpp
|
2017-05-13 11:05:16 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/inputhandler.cpp
|
2016-05-27 08:35:07 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/joystick_controller.cpp
|
2018-11-28 20:01:49 +01:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/keycode.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/localplayer.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/mapblock_mesh.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/mesh.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/mesh_generator_thread.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/minimap.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/particles.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/renderingengine.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/shader.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/sky.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/tile.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/wieldmesh.cpp
|
2015-02-21 11:51:12 +01:00
|
|
|
PARENT_SCOPE
|
2015-03-05 11:52:57 +01:00
|
|
|
)
|