Newer
Older
# $Id$
cmake_minimum_required(VERSION 2.8)

Marcel Loose
committed
## ---------------------------------------------------------------------------
## Preamble: set compilers
## ---------------------------------------------------------------------------

Marcel Loose
committed
include(CMake/LofarInit.cmake)
Alexander van Amesfoort
committed

Marcel Loose
committed
## ---------------------------------------------------------------------------
## Project characteristics
## ---------------------------------------------------------------------------
project(LOFAR)
include(LofarGeneral)
## ---------------------------------------------------------------------------
## LOFAR packages: build all, unless BUILD_PACKAGES was specified

Marcel Loose
committed
## ---------------------------------------------------------------------------
include(LofarPackage)
if(NOT DEFINED BUILD_PACKAGES)

Jan David Mol
committed
lofar_add_package(Docker)
lofar_add_package(LCS)
lofar_add_package(CEP)
lofar_add_package(RTCP)
lofar_add_package(SAS)
lofar_add_package(MAC)
lofar_add_package(LCU)

Jorrit Schaap
committed
lofar_add_package(QA)
lofar_add_package(SubSystems)
else(NOT DEFINED BUILD_PACKAGES)
separate_arguments(BUILD_PACKAGES)
foreach(pkg ${BUILD_PACKAGES})
lofar_add_package(${pkg} REQUIRED)
endforeach(pkg ${BUILD_PACKAGES})
endif(NOT DEFINED BUILD_PACKAGES)

Marcel Loose
committed

Marcel Loose
committed
## ---------------------------------------------------------------------------
## Check if Doxygen is present; if so, generate doxygen configuration file.
## ---------------------------------------------------------------------------
include(LofarDoxygen)

Marcel Loose
committed
## ---------------------------------------------------------------------------
## Generate configuration header file.
## ---------------------------------------------------------------------------
include(LofarConfig)