We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e7cb86 commit 254f779Copy full SHA for 254f779
Makefile
@@ -7,10 +7,13 @@
7
include make/Functions.mk
8
include make/Platform.mk
9
10
+optimisation := -O3
11
+
12
# Set debugging build flags
13
DEBUG ?= 1
14
ifeq ($(DEBUG), 1)
15
override CXXFLAGS += -g -DDEBUG -DCC_LOG_LEVEL=2
16
+ optimisation :=
17
else
18
override CXXFLAGS += -DNDEBUG -DCC_LOG_LEVEL=0 -O3
19
endif
@@ -49,7 +52,7 @@ export exampleGameApp := $(binDir)/examples/game/build/app
49
52
export exampleRenderApp := $(binDir)/examples/render/build/app
50
53
51
54
# Set build vars
-export compileFlags := -Wall -std=c++17
55
+export compileFlags := -Wall -std=c++17 $(optimisation)
56
export linkFlags += -L $(libDir)
57
buildFlagsFile:=.buildflags
58
0 commit comments