ldforge.pro

Tue, 22 Oct 2013 13:47:41 +0300

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Tue, 22 Oct 2013 13:47:41 +0300
changeset 523
a12e36f2db5f
parent 515
a0ad72800b96
child 539
72ad83a67165
child 665
4355e72ffd47
permissions
-rw-r--r--

enclosed the assert replacement in braces. In release mode, the assert is replaced with nothing and there's a little bit of code in addObjectDialog which uses it as a statement in an one-line if(). With the assert disappearing in release builds this triggered a GCC warning, as the if would be left without a body.

######################################################################
# Automatically generated by qmake (2.01a) Sat Sep 22 17:29:49 2012
######################################################################

TEMPLATE        = app
TARGET          = ldforge
SUBDIRS        += ./src

TARGET          = ldforge
DEPENDPATH     += .
INCLUDEPATH    += . ./build/
RC_FILE         = ldforge.rc
RESOURCES       = ldforge.qrc
RCC_DIR         = ./build/
MOC_DIR         = ./build/
RCC_DIR         = ./build/
UI_DIR          = ./build/
SOURCES         = src/*.cpp
HEADERS         = src/*.h
FORMS           = ui/*.ui
QT             += opengl network
QMAKE_CXXFLAGS += -std=c++0x
CONFIG         += debug_and_release

CONFIG (debug, debug|release) {
	TARGET   = ldforge_debug
	DEFINES += DEBUG
	OBJECTS_DIR = ./build_debug/
} else {
	TARGET = ldforge
	DEFINES += RELEASE
	OBJECTS_DIR = ./build_release/
}

unix {
	LIBS += -lGLU
}

mercurial