2 # Qmake project for UAVObjGenerator.
3 # Copyright (c) 2017, The LibrePilot Project, https://www.librepilot.org
4 # Copyright (c) 2010-2013, The OpenPilot Team, http://www.openpilot.org
12 QMAKE_CXXFLAGS_WARN_ON
+= -Werror
13 QMAKE_CFLAGS_WARN_ON
+= -Werror
14 QMAKE_CXXFLAGS
+= -fpermissive
17 # use ccache when available
18 QMAKE_CC
= $$
(CCACHE
) $$QMAKE_CC
19 QMAKE_CXX
= $$
(CCACHE
) $$QMAKE_CXX
21 TARGET
= uavobjgenerator
25 DESTDIR
= $$OUT_PWD
# Set a consistent output dir on windows
28 generators
/generator_io
.cpp \
29 generators
/java
/uavobjectgeneratorjava
.cpp \
30 generators
/flight
/uavobjectgeneratorflight
.cpp \
31 generators
/arduino
/uavobjectgeneratorarduino
.cpp \
32 generators
/gcs
/uavobjectgeneratorgcs
.cpp \
33 generators
/matlab
/uavobjectgeneratormatlab
.cpp \
34 generators
/python
/uavobjectgeneratorpython
.cpp \
35 generators
/wireshark
/uavobjectgeneratorwireshark
.cpp \
36 generators
/generator_common
.cpp
37 HEADERS
+= uavobjectparser
.h \
38 generators
/generator_io
.h \
39 generators
/java
/uavobjectgeneratorjava
.h \
40 generators
/gcs
/uavobjectgeneratorgcs
.h \
41 generators
/arduino
/uavobjectgeneratorarduino
.h \
42 generators
/matlab
/uavobjectgeneratormatlab
.h \
43 generators
/python
/uavobjectgeneratorpython
.h \
44 generators
/wireshark
/uavobjectgeneratorwireshark
.h \
45 generators
/generator_common
.h