Skip to content
Snippets Groups Projects
Commit a7217483 authored by Martin Gels's avatar Martin Gels
Browse files

bug 1005: Updated cmake file(s).

parent b2deb7b7
No related branches found
No related tags found
No related merge requests found
## ------------------------------------------------------------------------------
## Project characteristics
......@@ -6,9 +5,24 @@ project (Common)
cmake_minimum_required (VERSION 2.5)
## ------------------------------------------------------------------------------
## Enable test?
option (COMMON_ENABLE_TESTING "Enable building and executing test programs?" NO )
## ------------------------------------------------------------------------------
## Directories to be included in the build
include_directories (${Common_BINARY_DIR}/include)
configure_file(${CMAKE_SOURCE_DIR}/config.h.cmake
${Common_BINARY_DIR}/include/config.h)
configure_file(${Common_SOURCE_DIR}/lofar_config.h.cmake
${Common_BINARY_DIR}/include/lofar_config.h)
add_subdirectory (include)
add_subdirectory (src)
add_subdirectory (test)
if (COMMON_ENABLE_TESTING)
add_subdirectory (test)
endif (COMMON_ENABLE_TESTING)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment