mosesdecoder/contrib/other-builds/cmake/boost.example/CMakeLists.txt
Lane Schwartz 226031ecf6 Checking in examples of CMake files.
The example in contrib works, as does the one in biconcor.

The examples in lm and moses don't work at the moment,
but checking them in anyway as a starting point
for any potential work on them next week during the
MT Marathon.
2013-09-06 13:39:46 -04:00

8 lines
212 B
CMake

cmake_minimum_required(VERSION 2.8)
find_package(Boost 1.36.0 REQUIRED COMPONENTS locale)
include_directories(${Boost_INCLUDE_DIRS})
add_executable(demo main.cpp)
target_link_libraries(demo ${Boost_LIBRARIES})