forked from camsas/firmament
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
37 lines (29 loc) · 847 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
################################################################################
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)
# Compiler configuration
include(Config)
# Third-party dependencies and libraries
include(ExternalDependencies)
# Protocol buffer code generation
include(ProtobufCompile)
# Build options
include(Options)
# Linting targets
include(LintTargets)
# Docker target (image build)
include(DockerTargets)
# Unit tests
enable_testing()
set(GTEST_ROOT ${gtest_BINARY_DIR})
# The "src" subdir has all source code
subdirs(src)
subdirs(scripts/job)