mirror of https://github.com/dnomd343/klotski.git
Dnomd343
2 years ago
6 changed files with 47 additions and 22 deletions
@ -1,18 +1,18 @@ |
|||||
cmake_minimum_required(VERSION 3.0) |
cmake_minimum_required(VERSION 3.0) |
||||
|
|
||||
include_directories(klotski) |
#include_directories(klotski) |
||||
include_directories(klotski/utils) |
#include_directories(klotski/utils) |
||||
include_directories(klotski/all_cases) |
#include_directories(klotski/all_cases) |
||||
|
# |
||||
include_directories(klotski/raw_code) |
#include_directories(klotski/raw_code) |
||||
include_directories(klotski/short_code) |
#include_directories(klotski/short_code) |
||||
include_directories(klotski/common_code) |
#include_directories(klotski/common_code) |
||||
|
# |
||||
include_directories(klotski/core) |
#include_directories(klotski/core) |
||||
include_directories(klotski/analyse) |
#include_directories(klotski/analyse) |
||||
include_directories(klotski/fast_cal) |
#include_directories(klotski/fast_cal) |
||||
|
|
||||
add_subdirectory(klotski) |
add_subdirectory(klotski) |
||||
|
|
||||
add_executable(klotski_bin main.cc) |
#add_executable(klotski_bin main.cc) |
||||
target_link_libraries(klotski_bin klotski) |
#target_link_libraries(klotski_bin klotski) |
||||
|
@ -0,0 +1,4 @@ |
|||||
|
#pragma once |
||||
|
|
||||
|
void short_code_speed_up_fast(); |
||||
|
void short_code_speed_up_normal(); |
@ -0,0 +1,11 @@ |
|||||
|
#include "klotski.h" |
||||
|
|
||||
|
#include "short_code.h" |
||||
|
|
||||
|
void short_code_speed_up_fast() { |
||||
|
ShortCode::speed_up(ShortCode::FAST); |
||||
|
} |
||||
|
|
||||
|
void short_code_speed_up_normal() { |
||||
|
ShortCode::speed_up(ShortCode::NORMAL); |
||||
|
} |
Loading…
Reference in new issue