misc...
	* extradebug_quicker BUILD mode (defines _DEBUG_QUICKER = no slowing down debug renderables)
	* draw bbox for having model + selected entities
This commit is contained in:
Garux
2017-08-02 09:32:49 +03:00
parent 969b901abe
commit bc5dcc1699
13 changed files with 52 additions and 17 deletions

View File

@@ -5,7 +5,7 @@ MAKEFILE_CONF ?= Makefile.conf
# user customizable stuf
# you may override this in Makefile.conf or the environment
BUILD ?= debug
# or: release, or: debug, or: extradebug, or: profile, or: native
# or: release, or: debug, or: extradebug, or: extradebug_quicker, or: profile, or: native
OS ?= $(shell uname)
# or: Linux, Win32, Darwin
LDFLAGS ?=
@@ -137,6 +137,15 @@ endif
LDFLAGS_COMMON +=
else
ifeq ($(BUILD),extradebug_quicker)
ifeq ($(findstring $(CFLAGS),-g),)
CFLAGS_COMMON += -g3
# only add -g3 if no -g flag is in $(CFLAGS)
endif
CPPFLAGS_COMMON += -D_DEBUG -D_DEBUG_QUICKER
LDFLAGS_COMMON +=
else
ifeq ($(BUILD),profile)
ifeq ($(findstring $(CFLAGS),-g),)
CFLAGS_COMMON += -g
@@ -176,6 +185,7 @@ endif
endif
endif
endif
endif
INSTALLDIR_BASE := $(INSTALLDIR)