Mercurial > public > hwos_code
comparison src/Tests/compass_test.pro @ 282:7d9edd3b8c86
Make a more compact COMPASS calibration code (<7KB), and add more tests.
author | jDG |
---|---|
date | Fri, 22 May 2015 14:50:40 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
281:eb758a5b44eb | 282:7d9edd3b8c86 |
---|---|
1 #----------------------------------------------------------------------------- | |
2 # | |
3 # Project created by QtCreator 2013-03-29T10:58:23 | |
4 # | |
5 #----------------------------------------------------------------------------- | |
6 | |
7 TEMPLATE = app | |
8 TARGET = compass_test | |
9 | |
10 CONFIG *= qt | |
11 CONFIG -= app_bundle | |
12 | |
13 QT *= core | |
14 QT -= gui | |
15 | |
16 DEFINES *= UNIX | |
17 | |
18 #----------------------------------------------------------------------------- | |
19 # Need the GoogleTest 1.6.0 library here: | |
20 GTEST=$$PWD/../../../../Dependencies/gtest-1.6.0 | |
21 !exists($$GTEST/include): error(Requires GoogleTest 1.6.0) | |
22 INCLUDEPATH *= $$GTEST/include $$GTEST/gtest-1.6.0 | |
23 SOURCES *= $$GTEST/gtest-1.6.0/src/gtest-all.cc | |
24 win32: DEFINES *= _VARIADIC_MAX=10 | |
25 | |
26 #----------------------------------------------------------------------------- | |
27 SOURCES += \ | |
28 $$PWD/../compass.c \ | |
29 $$PWD/../compass_calib.c \ | |
30 compass_trigo_test.cpp \ | |
31 compass_test.cpp \ | |
32 main_test.cpp | |
33 | |
34 INCLUDEPATH *= $$PWD/.. | |
35 HEADERS += \ | |
36 $$PWD/../compass.h |