1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

Make qt-creator build work on Linux too (respect debug/release directives again)

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2588 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
edouard 2011-01-24 22:37:55 +00:00 committed by edouard
parent f0d824d74c
commit 3968a99e22

View File

@ -25,7 +25,7 @@ isEmpty(QMAKESPEC) {
} }
# Some platform-dependent options # Some platform-dependent options
win32 { win32|unix {
CONFIG(release, debug|release) { CONFIG(release, debug|release) {
BUILD_CONFIG = release BUILD_CONFIG = release
} else { } else {
@ -61,7 +61,7 @@ win32 {
uavobjects.commands += cd ../ground/openpilotgcs && uavobjects.commands += cd ../ground/openpilotgcs &&
uavobjects.commands += $(QMAKE) ../../../ground/openpilotgcs/openpilotgcs.pro uavobjects.commands += $(QMAKE) ../../../ground/openpilotgcs/openpilotgcs.pro
uavobjects.commands += -spec $$SPEC -r $$addNewline() uavobjects.commands += -spec $$SPEC CONFIG+=$${BUILD_CONFIG} -r $$addNewline()
} }
uavobjects.target = FORCE uavobjects.target = FORCE