CMakeLists.txt
author Tero Marttila <terom@fixme.fi>
Sat, 23 May 2009 00:33:23 +0300
changeset 215 85863b89e38b
parent 186 33ef336dbb4b
permissions -rw-r--r--
fix lua_thread_resume_state to not call lua_resume from a CFunction executing in the same state; lua_thread_done is now unprotected...
# 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)