diff options
author | sfan5 <sfan5@live.de> | 2016-09-29 16:20:05 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2016-09-29 16:31:31 +0200 |
commit | 45a9145a4bd44a677c77687880d0b0acb7e6b421 (patch) | |
tree | 904cd00e9f47dac8ee70b99d393775589b1e7fa9 /src | |
parent | cc0b3c1cd14f036d6336ae0fb2329fd245b6b4b4 (diff) | |
download | minetest-45a9145a4bd44a677c77687880d0b0acb7e6b421.tar.gz minetest-45a9145a4bd44a677c77687880d0b0acb7e6b421.tar.bz2 minetest-45a9145a4bd44a677c77687880d0b0acb7e6b421.zip |
Only include keycode unittests in client build (fixes #4559)
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/unittest/CMakeLists.txt | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ef40bf8fc..753291cba 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -538,6 +538,7 @@ set(client_SRCS sky.cpp wieldmesh.cpp ${client_SCRIPT_SRCS} + ${UNITTEST_CLIENT_SRCS} ) list(SORT client_SRCS) diff --git a/src/unittest/CMakeLists.txt b/src/unittest/CMakeLists.txt index c7c95772f..e0978aa72 100644 --- a/src/unittest/CMakeLists.txt +++ b/src/unittest/CMakeLists.txt @@ -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) |