2015-04-26 07:24:19 +02:00
|
|
|
set (UNITTEST_SRCS
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test.cpp
|
2018-08-05 13:13:38 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_authdatabase.cpp
|
2018-01-01 18:48:52 +01:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_activeobject.cpp
|
2015-07-11 02:24:00 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_areastore.cpp
|
2018-01-01 18:48:52 +01:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_ban.cpp
|
2015-04-26 07:24:19 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_collision.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_compression.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_connection.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_filepath.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_inventory.cpp
|
2016-06-25 00:15:56 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_map_settings_manager.cpp
|
2015-04-26 07:24:19 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_mapnode.cpp
|
2017-09-26 00:11:20 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_modchannels.cpp
|
2015-04-26 07:24:19 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_nodedef.cpp
|
2015-05-05 17:36:40 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_noderesolver.cpp
|
2015-04-26 07:24:19 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_noise.cpp
|
2015-05-04 04:19:15 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_objdef.cpp
|
2016-10-27 09:45:01 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_player.cpp
|
2015-04-26 07:24:19 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_profiler.cpp
|
2015-04-29 10:07:24 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_random.cpp
|
2015-05-08 06:05:08 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_schematic.cpp
|
2015-04-26 07:24:19 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_serialization.cpp
|
2018-12-13 20:18:54 +01:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_serveractiveobjectmgr.cpp
|
2018-06-13 21:58:34 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_server_shutdown_state.cpp
|
2015-04-26 07:24:19 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_settings.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_socket.cpp
|
2018-03-16 08:41:33 +01:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_servermodmanager.cpp
|
2015-04-07 12:13:12 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_threading.cpp
|
2015-04-26 07:24:19 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_utilities.cpp
|
2018-03-11 21:16:19 +01:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_voxelarea.cpp
|
2015-04-26 07:24:19 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_voxelalgorithms.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_voxelmanipulator.cpp
|
|
|
|
PARENT_SCOPE)
|
2016-09-29 16:20:05 +02:00
|
|
|
|
|
|
|
set (UNITTEST_CLIENT_SRCS
|
2018-12-13 20:18:54 +01:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_clientactiveobjectmgr.cpp
|
2018-03-30 18:32:52 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_eventmanager.cpp
|
2018-01-03 14:28:55 +01:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_gameui.cpp
|
2016-09-29 16:20:05 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_keycode.cpp
|
|
|
|
PARENT_SCOPE)
|
2018-03-16 08:41:33 +01:00
|
|
|
|
|
|
|
set (TEST_WORLDDIR ${CMAKE_CURRENT_SOURCE_DIR}/test_world)
|
|
|
|
set (TEST_SUBGAME_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../games/minimal)
|
|
|
|
|
|
|
|
configure_file(
|
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/test_config.h.in"
|
|
|
|
"${PROJECT_BINARY_DIR}/test_config.h"
|
|
|
|
)
|