-
Notifications
You must be signed in to change notification settings - Fork 4
/
CMakeLists.txt
45 lines (39 loc) · 1.65 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# $Id$
cmake_minimum_required(VERSION 2.8)
## ---------------------------------------------------------------------------
## Preamble: set compilers
## ---------------------------------------------------------------------------
include(CMake/LofarInit.cmake)
## ---------------------------------------------------------------------------
## Project characteristics
## ---------------------------------------------------------------------------
project(LOFAR)
include(LofarGeneral)
## ---------------------------------------------------------------------------
## LOFAR packages: build all, unless BUILD_PACKAGES was specified
## ---------------------------------------------------------------------------
include(LofarPackage)
if(NOT DEFINED BUILD_PACKAGES)
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)
lofar_add_package(LTA)
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)
## ---------------------------------------------------------------------------
## Check if Doxygen is present; if so, generate doxygen configuration file.
## ---------------------------------------------------------------------------
include(LofarDoxygen)
## ---------------------------------------------------------------------------
## Generate configuration header file.
## ---------------------------------------------------------------------------
include(LofarConfig)