1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00
LibrePilot/ground/uavobjgenerator/uavobjgenerator.pro
Alessio Morale e01798d1ed LP-41 - Add support for ccache
- explicitly define QMAKE_CC & CXX as "ccache <compiler>"
- use ccache for uavobjectgenerator
- Handle CCACHE setting with configuration options

To enable ccache you need to configure it like
  make CCACHE=/path/to/ccache config_append
2015-07-22 20:40:43 +02:00

38 lines
1.2 KiB
Prolog

#
# Qmake project for UAVObjGenerator.
# Copyright (c) 2010-2013, The OpenPilot Team, http://www.openpilot.org
#
QT += xml
QT -= gui
macx {
QMAKE_CXXFLAGS += -fpermissive
}
# use ccache when available
QMAKE_CC = $$(CCACHE) $$QMAKE_CC
QMAKE_CXX = $$(CCACHE) $$QMAKE_CXX
TARGET = uavobjgenerator
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
DESTDIR = $$OUT_PWD # Set a consistent output dir on windows
SOURCES += main.cpp \
uavobjectparser.cpp \
generators/generator_io.cpp \
generators/java/uavobjectgeneratorjava.cpp \
generators/flight/uavobjectgeneratorflight.cpp \
generators/gcs/uavobjectgeneratorgcs.cpp \
generators/matlab/uavobjectgeneratormatlab.cpp \
generators/python/uavobjectgeneratorpython.cpp \
generators/wireshark/uavobjectgeneratorwireshark.cpp \
generators/generator_common.cpp
HEADERS += uavobjectparser.h \
generators/generator_io.h \
generators/java/uavobjectgeneratorjava.h \
generators/gcs/uavobjectgeneratorgcs.h \
generators/matlab/uavobjectgeneratormatlab.h \
generators/python/uavobjectgeneratorpython.h \
generators/wireshark/uavobjectgeneratorwireshark.h \
generators/generator_common.h