From 000a4668b6fe6fc822d1265152656fb675a26a73 Mon Sep 17 00:00:00 2001 From: rayhogenson Date: Sat, 15 Mar 2014 01:37:42 -0800 Subject: yo --- CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 CMakeLists.txt (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..43e5163 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,11 @@ +cmake_minimum_required (VERSION 2.6) +project (yetihack) +add_executable (yetihack ${PROJECT_SOURCE_DIR}/src/yetihack.cpp ${PROJECT_SOURCE_DIR}/src/yeti.cpp) +find_package(Curses) +target_link_libraries(yetihack ${CURSES_LIBRARIES}) +include (CheckIncludeFile) +check_include_file(unistd.h HAVE_UNISTD_H) +check_include_file(windows.h HAVE_WINDOWS_H) +configure_file("${PROJECT_SOURCE_DIR}/include/config.h.in" "${PROJECT_SOURCE_DIR}/include/config.h") +include_directories("include") +install (TARGETS yetihack DESTINATION bin) -- cgit v1.3.1