mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-16 08:29:15 +01:00
Merge pull request #45 from AlessioMorale/amorale/LP-41_ccache_support
Amorale/lp_41_ccache support
This commit is contained in:
commit
594bb4fb91
@ -248,3 +248,9 @@ macx {
|
|||||||
QMAKE_CXXFLAGS_WARN_ON += -Wno-gnu-static-float-init
|
QMAKE_CXXFLAGS_WARN_ON += -Wno-gnu-static-float-init
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# use ccache when available
|
||||||
|
QMAKE_CC = $$(CCACHE) $$QMAKE_CC
|
||||||
|
QMAKE_CXX = $$(CCACHE) $$QMAKE_CXX
|
||||||
|
|
||||||
|
@ -8,6 +8,10 @@ QT -= gui
|
|||||||
macx {
|
macx {
|
||||||
QMAKE_CXXFLAGS += -fpermissive
|
QMAKE_CXXFLAGS += -fpermissive
|
||||||
}
|
}
|
||||||
|
# use ccache when available
|
||||||
|
QMAKE_CC = $$(CCACHE) $$QMAKE_CC
|
||||||
|
QMAKE_CXX = $$(CCACHE) $$QMAKE_CXX
|
||||||
|
|
||||||
TARGET = uavobjgenerator
|
TARGET = uavobjgenerator
|
||||||
CONFIG += console
|
CONFIG += console
|
||||||
CONFIG -= app_bundle
|
CONFIG -= app_bundle
|
||||||
|
@ -21,8 +21,8 @@ ifndef TOP_LEVEL_MAKEFILE
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# Define toolchain component names.
|
# Define toolchain component names.
|
||||||
CC = $(ARM_SDK_PREFIX)gcc
|
CC = $(CCACHE) $(ARM_SDK_PREFIX)gcc
|
||||||
CXX = $(ARM_SDK_PREFIX)g++
|
CXX = $(CCACHE) $(ARM_SDK_PREFIX)g++
|
||||||
AR = $(ARM_SDK_PREFIX)ar
|
AR = $(ARM_SDK_PREFIX)ar
|
||||||
OBJCOPY = $(ARM_SDK_PREFIX)objcopy
|
OBJCOPY = $(ARM_SDK_PREFIX)objcopy
|
||||||
OBJDUMP = $(ARM_SDK_PREFIX)objdump
|
OBJDUMP = $(ARM_SDK_PREFIX)objdump
|
||||||
|
@ -204,6 +204,8 @@ endif
|
|||||||
# Command to extract version info data from the repository and source tree
|
# Command to extract version info data from the repository and source tree
|
||||||
export VERSION_INFO = $(PYTHON) $(ROOT_DIR)/make/scripts/version-info.py --path=$(ROOT_DIR)
|
export VERSION_INFO = $(PYTHON) $(ROOT_DIR)/make/scripts/version-info.py --path=$(ROOT_DIR)
|
||||||
|
|
||||||
|
export CCACHE
|
||||||
|
|
||||||
##############################
|
##############################
|
||||||
#
|
#
|
||||||
# Misc settings
|
# Misc settings
|
||||||
|
Loading…
x
Reference in New Issue
Block a user