Skip to content
Permalink
Browse files

Only include keycode unittests in client build (fixes #4559)

  • Loading branch information
sfan5 committed Sep 29, 2016
1 parent cc0b3c1 commit 45a9145a4bd44a677c77687880d0b0acb7e6b421
Showing with 5 additions and 1 deletion.
  1. +1 −0 src/CMakeLists.txt
  2. +4 −1 src/unittest/CMakeLists.txt
@@ -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)

0 comments on commit 45a9145

Please sign in to comment.