-
Notifications
You must be signed in to change notification settings - Fork 2
/
CMakeLists.txt
46 lines (28 loc) · 1 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
46
# \file CMakeLists.txt
# \brief Top-level CMake configuration
# \author: Eric Keilty
#Version needed to run
cmake_minimum_required( VERSION 3.0.0 )
# including a bunch of installation stuff:
# Set the installation folder (default or user-defined)
#include( cmake/SetInstallationFolder.cmake )
# Set the configuration types (Debug and Release)
#include( cmake/SetConfigurationTypes.cmake )
# Provide the status operator
#include( cmake/UtilsStatus.cmake )
# Detect the building environment (e.g. setup the compiler)
#include( cmake/DetectEnvironment.cmake )
# Retrieve the project version
#include( cmake/GetProjectVersion.cmake )
# Set options
#include( cmake/SetOptions.cmake )
#declaring project name
#name it the name of the folder that this is inside of
project ( Template_project )
# Including directories
include_directories( ${CMAKE_SOURCE_DIR}/src/lib
${CMAKE_BINARY_DIR}/src/lib
)
#include( cmake/ShowSummary.cmake )
#adding 'src' as a directory
add_subdirectory( src )