From f308ae01517b7aee06d10c6e50b484d77fbdd1d5 Mon Sep 17 00:00:00 2001 From: Emir Cem Gezer Date: Mon, 23 Oct 2017 13:41:43 +0300 Subject: [PATCH] CmakeLists added --- CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..c0a6f00 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,10 @@ +cmake_minimum_required (VERSION 2.8.11) +project (a-star) + +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") + +include_directories(source) +add_library(a-star source/AStar.cpp) + +add_executable(main main.cpp) +target_link_libraries(main a-star)