-
Notifications
You must be signed in to change notification settings - Fork 77
/
CMakeLists.txt
44 lines (34 loc) · 980 Bytes
/
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
################################################################################
project(Firmament)
################################################################################
cmake_minimum_required(VERSION 2.8)
# Path variable configuration
include(cmake/Paths.cmake)
# CMake helpers
include(CheckLibraryExists)
include(CheckFunctionExists)
include(ExternalProject)
include(CheckCXXSourceCompiles)
# Build options
include(Options)
# Compiler configuration
include(Config)
# Third-party dependencies and libraries
include(ExternalDependencies)
# Protocol buffer code generation
include(ProtobufCompile)
# Linting targets
include(LintTargets)
# Docker target (image build)
include(DockerTargets)
# Doxy documentaion target
include(DoxyTargets)
# Unit tests
if (BUILD_TESTS)
enable_testing()
set(GTEST_ROOT ${gtest_BINARY_DIR})
endif (BUILD_TESTS)
# Helper scripts that depend on protobufs
subdirs(scripts/job)
# The "src" subdir has all source code
subdirs(src)