Browse Source

test: combine global codec test

legacy
Dnomd343 2 years ago
parent
commit
7e0aa9f35b
  1. 32
      test/CMakeLists.txt

32
test/CMakeLists.txt

@ -58,19 +58,27 @@ include_directories(../src/klotski_core)
add_library(test_global_utils STATIC global/global_utils.cc) add_library(test_global_utils STATIC global/global_utils.cc)
set(TEST_GLOBAL_DEPS ${TEST_DEPS} test_global_utils tiny_pool) set(TEST_GLOBAL_DEPS ${TEST_DEPS} test_global_utils tiny_pool)
include_directories(../src/klotski_core/common_code) include_directories(../src/klotski_core/raw_code)
add_executable(test_global_common_code global/common_code.cc)
target_link_libraries(test_global_common_code ${TEST_GLOBAL_DEPS})
add_test(NAME global_common_code COMMAND test_global_common_code)
include_directories(../src/klotski_core/short_code) include_directories(../src/klotski_core/short_code)
add_executable(test_global_short_code global/short_code.cc) include_directories(../src/klotski_core/common_code)
target_link_libraries(test_global_short_code ${TEST_GLOBAL_DEPS})
add_test(NAME global_short_code COMMAND test_global_short_code)
include_directories(../src/klotski_core/raw_code) add_executable(test_codec_global global/short_code.cc global/common_code.cc global/raw_code.cc)
add_executable(test_global_raw_code global/raw_code.cc) target_link_libraries(test_codec_global ${TEST_GLOBAL_DEPS})
target_link_libraries(test_global_raw_code ${TEST_GLOBAL_DEPS}) add_test(NAME codec_global COMMAND test_codec_global)
add_test(NAME global_raw_code COMMAND test_global_raw_code)
#include_directories(../src/klotski_core/common_code)
#add_executable(test_global_common_code global/common_code.cc)
#target_link_libraries(test_global_common_code ${TEST_GLOBAL_DEPS})
#add_test(NAME global_common_code COMMAND test_global_common_code)
#
#include_directories(../src/klotski_core/short_code)
#add_executable(test_global_short_code global/short_code.cc)
#target_link_libraries(test_global_short_code ${TEST_GLOBAL_DEPS})
#add_test(NAME global_short_code COMMAND test_global_short_code)
#
#include_directories(../src/klotski_core/raw_code)
#add_executable(test_global_raw_code global/raw_code.cc)
#target_link_libraries(test_global_raw_code ${TEST_GLOBAL_DEPS})
#add_test(NAME global_raw_code COMMAND test_global_raw_code)
################################################################################ ################################################################################

Loading…
Cancel
Save