forked from Mirrorlandia_minetest/minetest
Only include keycode unittests in client build (fixes #4559)
This commit is contained in:
parent
cc0b3c1cd1
commit
45a9145a4b
@ -538,6 +538,7 @@ set(client_SRCS
|
|||||||
sky.cpp
|
sky.cpp
|
||||||
wieldmesh.cpp
|
wieldmesh.cpp
|
||||||
${client_SCRIPT_SRCS}
|
${client_SCRIPT_SRCS}
|
||||||
|
${UNITTEST_CLIENT_SRCS}
|
||||||
)
|
)
|
||||||
list(SORT client_SRCS)
|
list(SORT client_SRCS)
|
||||||
|
|
||||||
|
@ -6,7 +6,6 @@ set (UNITTEST_SRCS
|
|||||||
${CMAKE_CURRENT_SOURCE_DIR}/test_connection.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/test_connection.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/test_filepath.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/test_filepath.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/test_inventory.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/test_inventory.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/test_keycode.cpp
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/test_map_settings_manager.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/test_map_settings_manager.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/test_mapnode.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/test_mapnode.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/test_nodedef.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/test_nodedef.cpp
|
||||||
@ -24,3 +23,7 @@ set (UNITTEST_SRCS
|
|||||||
${CMAKE_CURRENT_SOURCE_DIR}/test_voxelalgorithms.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/test_voxelalgorithms.cpp
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/test_voxelmanipulator.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/test_voxelmanipulator.cpp
|
||||||
PARENT_SCOPE)
|
PARENT_SCOPE)
|
||||||
|
|
||||||
|
set (UNITTEST_CLIENT_SRCS
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/test_keycode.cpp
|
||||||
|
PARENT_SCOPE)
|
||||||
|
Loading…
Reference in New Issue
Block a user