2017-12-20 22:02:09 +01:00
|
|
|
cmake_minimum_required(VERSION 3.8)
|
|
|
|
project(PuzzleSolver)
|
|
|
|
set(OpenCV_Found 1)
|
|
|
|
set (OpenCV_DIR C:/openCV/build)
|
|
|
|
find_package(OpenCV REQUIRED)
|
|
|
|
set(CMAKE_CXX_STANDARD 11)
|
|
|
|
set(SOURCE_FILES
|
|
|
|
main.cpp
|
|
|
|
header.h
|
|
|
|
functions/solve/structure.cpp
|
|
|
|
functions/AbstractionLayers/AbstraktionLayer_Base.h
|
2017-12-21 12:20:57 +01:00
|
|
|
functions/AbstractionLayers/Layer1/AbstractionLayer_1.cpp
|
2018-01-19 16:53:53 +01:00
|
|
|
functions/AbstractionLayers/LayerHistogram/AbstractionLayer_Histogram.cpp
|
2017-12-21 12:20:57 +01:00
|
|
|
functions/AbstractionLayers/DestructionPower/DestructionPower.cpp
|
|
|
|
header/solve.h
|
|
|
|
header/input.h
|
|
|
|
functions/solve/puzzleExtension.cpp)
|
2017-12-20 22:02:09 +01:00
|
|
|
add_executable(PuzzleSolver ${SOURCE_FILES})
|
|
|
|
include_directories(${OpenCV_INCLUDE_DIRS})
|
|
|
|
target_link_libraries(PuzzleSolver ${OpenCV_LIBS})
|