Skip to content

Instantly share code, notes, and snippets.

@tomeaton17
Created January 8, 2018 12:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomeaton17/bdedb9bea1d26921cb7aa3f2bb45c269 to your computer and use it in GitHub Desktop.
Save tomeaton17/bdedb9bea1d26921cb7aa3f2bb45c269 to your computer and use it in GitHub Desktop.
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