1 cmake_minimum_required(VERSION 2.8.11)
3 set(CMAKE_EXPORT_COMPILE_COMMANDS 1)
4 set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
5 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
6 set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
8 option(WITH_TESTS "also build tests" OFF)
11 add_subdirectory(${CMAKE_SOURCE_DIR}/src)
14 add_subdirectory(${CMAKE_SOURCE_DIR}/test)
20 WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/doc/