mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-10 18:24:11 +01:00
e01798d1ed
- 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
38 lines
1.2 KiB
Prolog
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
|