git repos / oastat

CMakeLists.txt

browsing at commit = 17d0c280ed2a0cd1a3e139b5836272f47019cce3

raw · blame · history

cmake_minimum_required(VERSION 2.8.9)
project (oastat)
find_package(Boost COMPONENTS program_options REQUIRED)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -std=c++11 -DUSECPPDB=1")

file(GLOB SOURCES "src/*.cpp" "src/*/*.cpp")

add_executable(oastat ${SOURCES})
TARGET_LINK_LIBRARIES( oastat ${Boost_LIBRARIES} )
target_link_libraries( oastat cppdb gcrypt gpg-error)