CMakeLists.txt
author Tero Marttila <terom@fixme.fi>
Thu, 28 May 2009 01:17:36 +0300
branchnew-lib-errors
changeset 219 cefec18b8268
parent 186 33ef336dbb4b
permissions -rw-r--r--
some of the lib/transport stuff compiles
# policy
cmake_minimum_required (VERSION 2.6)

# project attributes
project (evirc C)

# cmake paths
set (CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/Modules/")

# setup options
option (ENABLE_DOC              "Generate Doxygen documentation"    ON)
option (ENABLE_TEST             "Build test binary"                 ON)
option (ENABLE_TEST_COVERAGE    "Build test binary with instrumentation for code coverage analysis" ON)

# add the subdirs
add_subdirectory (src)

if (ENABLE_DOC)
    add_subdirectory (doc)

endif (ENABLE_DOC)

if (ENABLE_TEST)
    add_subdirectory (test)

endif (ENABLE_TEST)