mirror of https://github.com/dnomd343/klotski.git
Dnomd343
2 years ago
3 changed files with 25 additions and 3 deletions
@ -1,6 +1,20 @@ |
|||||
cmake_minimum_required(VERSION 3.0) |
cmake_minimum_required(VERSION 3.0) |
||||
|
|
||||
|
################################################################ |
||||
|
|
||||
|
enable_testing() |
||||
|
|
||||
|
################################################################ |
||||
|
|
||||
|
include_directories(../third_party/md5) |
||||
|
add_library(md5 ../third_party/md5/md5.cpp) |
||||
|
|
||||
|
################################################################ |
||||
|
|
||||
include_directories(../src/klotski/all_cases) |
include_directories(../src/klotski/all_cases) |
||||
add_executable(test_all_cases all_cases.cc) |
add_executable(test_all_cases all_cases.cc) |
||||
target_link_libraries(test_all_cases all_cases gtest gtest_main) |
target_link_libraries(test_all_cases gtest gtest_main) |
||||
|
target_link_libraries(test_all_cases md5 all_cases) |
||||
add_test(NAME all_cases COMMAND test_all_cases) |
add_test(NAME all_cases COMMAND test_all_cases) |
||||
|
|
||||
|
################################################################ |
||||
|
Loading…
Reference in new issue