Mercurial > public > hwos_code
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/Tests/compass_test.pro Fri May 22 14:50:40 2015 +0200 @@ -0,0 +1,36 @@ +#----------------------------------------------------------------------------- +# +# Project created by QtCreator 2013-03-29T10:58:23 +# +#----------------------------------------------------------------------------- + +TEMPLATE = app +TARGET = compass_test + +CONFIG *= qt +CONFIG -= app_bundle + +QT *= core +QT -= gui + +DEFINES *= UNIX + +#----------------------------------------------------------------------------- +# Need the GoogleTest 1.6.0 library here: +GTEST=$$PWD/../../../../Dependencies/gtest-1.6.0 +!exists($$GTEST/include): error(Requires GoogleTest 1.6.0) +INCLUDEPATH *= $$GTEST/include $$GTEST/gtest-1.6.0 +SOURCES *= $$GTEST/gtest-1.6.0/src/gtest-all.cc +win32: DEFINES *= _VARIADIC_MAX=10 + +#----------------------------------------------------------------------------- +SOURCES += \ + $$PWD/../compass.c \ + $$PWD/../compass_calib.c \ + compass_trigo_test.cpp \ + compass_test.cpp \ + main_test.cpp + +INCLUDEPATH *= $$PWD/.. +HEADERS += \ + $$PWD/../compass.h