mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Only include keycode unittests in client build (fixes #4559)
This commit is contained in:
parent
cc0b3c1cd1
commit
45a9145a4b
2 changed files with 5 additions and 1 deletions
|
@ -538,6 +538,7 @@ set(client_SRCS
|
|||
sky.cpp
|
||||
wieldmesh.cpp
|
||||
${client_SCRIPT_SRCS}
|
||||
${UNITTEST_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_filepath.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_mapnode.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_voxelmanipulator.cpp
|
||||
PARENT_SCOPE)
|
||||
|
||||
set (UNITTEST_CLIENT_SRCS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/test_keycode.cpp
|
||||
PARENT_SCOPE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue