annotate src/Tests/unit_test.pro @ 572:0039f057b90f

Fix time of dive in internal logbook
author heinrichsweikamp
date Mon, 12 Feb 2018 16:24:58 +0100
parents cd2320cd6f9a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
285
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
1 #-----------------------------------------------------------------------------
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
2 #
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
3 # Project created by QtCreator 2013-03-29T10:58:23
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
4 #
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
5 #-----------------------------------------------------------------------------
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
6
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
7 TEMPLATE = app
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
8 TARGET = unit_test
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
9
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
10 CONFIG *= qt
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
11 CONFIG -= app_bundle
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
12
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
13 QT *= core
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
14 QT -= gui
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
15
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
16 DEFINES *= UNIX
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
17
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
18 #-----------------------------------------------------------------------------
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
19 # Need the GoogleTest 1.6.0 library here:
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
20 GTEST=$$PWD/../../../gtest-1.6.0
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
21 !exists($$GTEST/include): GTEST=$$PWD/../../../../Dependencies/gtest-1.6.0
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
22 !exists($$GTEST/include): error(Requires GoogleTest 1.6.0)
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
23 INCLUDEPATH *= $$GTEST/include $$GTEST/gtest-1.6.0
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
24 SOURCES *= $$GTEST/gtest-1.6.0/src/gtest-all.cc
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
25
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
26 win32: DEFINES *= _VARIADIC_MAX=10
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
27
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
28 #-----------------------------------------------------------------------------
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
29 # Avoid unwanted warnings
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
30
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
31 unix {
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
32 QMAKE_CXXFLAGS_WARN_ON *= -Wno-unknown-pragmas
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
33 }
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
34
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
35 win32 {
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
36 QMAKE_CXXFLAGS *= -wd4244 -wd4068 -wd4305
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
37 }
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
38
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
39 #-----------------------------------------------------------------------------
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
40 SOURCES += \
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
41 $$PWD/../compass.c \
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
42 $$PWD/../compass_calib.c \
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
43 compass_trigo_test.cpp \
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
44 compass_test.cpp \
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
45 deco_volume_test.cpp \
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
46 unit_test.cpp
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
47
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
48 INCLUDEPATH *= $$PWD/..
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
49 HEADERS += \
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
50 $$PWD/../shared_definitions.h \
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
51 $$PWD/../p2_definitions.h \
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
52 $$PWD/../p2_deco.c \
cd2320cd6f9a NEW unit tests for gas volumes...
jdg@air
parents: 282
diff changeset
53 $$PWD/../compass.h