CMakeLists.txt
author Tero Marttila <terom@fixme.fi>
Thu, 21 May 2009 16:57:00 +0300
changeset 211 b460d958a685
parent 186 33ef336dbb4b
permissions -rw-r--r--
fix lua_nexus_sleep to use lua_thread_yield_state
# 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)