2015-04-26 07:24:19 +02:00
|
|
|
set (UNITTEST_SRCS
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test.cpp
|
2019-02-09 19:52:38 +01:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_address.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
|
2019-04-12 18:27:39 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_irrptr.cpp
|
2022-04-07 16:54:17 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_lua.cpp
|
2021-12-17 17:21:14 +01:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_map.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
|
2022-01-07 19:28:49 +01:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_modmetadatadatabase.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
|
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
|
2021-11-01 13:27:46 +01:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_gettext.cpp
|
2015-04-26 07:24:19 +02:00
|
|
|
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)
|
2020-05-26 00:17:52 +02:00
|
|
|
set (TEST_SUBGAME_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../games/devtest)
|
2021-10-07 00:19:41 +02:00
|
|
|
set (TEST_MOD_PATH ${CMAKE_CURRENT_SOURCE_DIR}/test_mod)
|
2018-03-16 08:41:33 +01:00
|
|
|
|
|
|
|
configure_file(
|
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/test_config.h.in"
|
|
|
|
"${PROJECT_BINARY_DIR}/test_config.h"
|
|
|
|
)
|