Advertisement
Guest User

Boost.Serialization Cmake test config

a guest
Dec 4th, 2012
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.34 KB | None | 0 0
  1. cmake_minimum_required(VERSION 2.8)
  2.  
  3. project(test)
  4.  
  5. SET(Boost_FIND_REQUIRED TRUE)
  6. SET(Boost_USE_MULTITHREAD ON)
  7. FIND_PACKAGE(Boost 1.51 REQUIRED serialization system)
  8.  
  9. INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})
  10. LINK_DIRECTORIES(${Boost_LIBRARY_DIRS})
  11.  
  12. add_executable(test "test_archive.cpp")
  13. target_link_libraries(test ${Boost_LIBRARIES})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement