1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +01:00

enable release/debug separation, only release target makes standalone runnable build.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2558 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
sambas 2011-01-24 07:14:10 +00:00 committed by sambas
parent 000a7bb54e
commit 0fa8589fc3

View File

@ -41,7 +41,11 @@ win32 {
uavobjects.commands += pushd $$targetPath(../../ground/openpilotgcs) &&
uavobjects.commands += $(QMAKE) $$targetPath(../../../ground/openpilotgcs/)openpilotgcs.pro
uavobjects.commands += -spec $$SPEC -r && popd $$addNewline()
CONFIG(release, debug|release) {
uavobjects.commands += -spec $$SPEC -r CONFIG+=release && popd $$addNewline()
} else {
uavobjects.commands += -spec $$SPEC -r CONFIG+=debug && popd $$addNewline()
}
}
!win32 {