Skip to content

Instantly share code, notes, and snippets.

@michalpelka
Created October 16, 2016 20:13
Show Gist options
  • Save michalpelka/4fb46547417cbce709d2747cccd0253b to your computer and use it in GitHub Desktop.
Save michalpelka/4fb46547417cbce709d2747cccd0253b to your computer and use it in GitHub Desktop.
cmake_minimum_required(VERSION 2.8)
#SET(CMAKE_BUILD_TYPE Debug)
PROJECT(boost_serial_test)
#########################################################
# FIND BOOST
#########################################################
find_package(Boost COMPONENTS system thread filesystem date_time locale REQUIRED)
link_directories(${Boost_LIBRARY_DIRS})
add_executable(test_serial test_serial.cpp)
target_link_libraries(test_serial ${Boost_LIBRARIES})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment