-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakeLists.txt
43 lines (32 loc) · 1.03 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
cmake_minimum_required (VERSION 3.5.1)
project (KalmanTester)
# On inclut notre bibliotheque dans le processus de CMake
# add_subdirectory(source/routes)
# The version number.
set (Tutorial_VERSION_MAJOR 1)
set (Tutorial_VERSION_MINOR 0)
add_definitions(-DTDD)
add_definitions(-D__HEAP_SIZE=150000)
add_definitions(-D_USE_MATH_DEFINES)
set(CMAKE_C_FLAGS "-fno-builtin --short-enums -nostdlib -MMD -nostdlib -ffunction-sections -fdata-sections -fno-strict-aliasing")
set(CMAKE_CXX_FLAGS "-g -Og -std=gnu++0x -rdynamic -felide-constructors -fno-exceptions -fno-rtti -fpermissive")
# add the binary tree to the search path for include files
include_directories(
./
TDD
source
source/kalman
)
# Cree des variables avec les fichiers a compiler
set(SRCS
TDD/main_tdd.cpp
TDD/Simulator.cpp
unit_testing.cpp
source/kalman/kalman_ext.cpp
source/kalman/UDMatrix.cpp
)
set(HEADERS
main_tdd.h
)
# add the executable
add_executable(KalmanTester ${SRCS} ${HEADERS})