Created
January 8, 2018 12:58
-
-
Save tomeaton17/bdedb9bea1d26921cb7aa3f2bb45c269 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required (VERSION 2.6) | |
project(HawkCell) | |
set( CMAKE_EXPORT_COMPILE_COMMANDS ON ) | |
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x") | |
set(CMAKE_BUILD_TYPE Debug) | |
find_library(read_lib readline) | |
find_library(curses_lib ncurses) | |
find_library(pthread_lib pthread) | |
find_library(rt_lib rt) | |
find_package(Boost COMPONENTS system timer chrono) | |
add_executable(HawkCell main.cc) | |
target_link_libraries(HawkCell "${read_lib}" "${curses_lib}" "${pthread_lib}" "${Boost_SYSTEM_LIBRARY}" "${rt_lib}") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment