aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
blob: cbbdb4e77fd942b7572e26b44a94b8ccc700aae1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
cmake_minimum_required(VERSION 2.8.12)
project(effcee C CXX)
enable_testing()

option(EFFCEE_SKIP_TESTS "Skip building tests" ${EFFCEE_SKIP_TESTS})
if(NOT ${EFFCEE_SKIP_TESTS})
  set(EFFCEE_ENABLE_TESTS ON)
endif()
if(${EFFCEE_ENABLE_TESTS})
  message(STATUS "Configuring Effcee to build tests.")
else()
  message(STATUS "Configuring Effcee to avoid building tests.")
endif()

include(cmake/setup_build.cmake)
include(cmake/utils.cmake)

add_subdirectory(third_party)
add_subdirectory(effcee)
add_subdirectory(examples)