mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Added relwithdebug build target for unix build of profiler
This commit is contained in:
parent
1557a9ac52
commit
94c57fa447
@ -10,6 +10,9 @@ debug:
|
|||||||
release:
|
release:
|
||||||
@$(MAKE) -f release.mk all
|
@$(MAKE) -f release.mk all
|
||||||
|
|
||||||
|
relwithdebug:
|
||||||
|
@$(MAKE) -f relwithdebug.mk all
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@$(MAKE) -f build.mk clean
|
@$(MAKE) -f build.mk clean
|
||||||
|
|
||||||
|
|||||||
14
profiler/build/unix/relwithdebug.mk
Normal file
14
profiler/build/unix/relwithdebug.mk
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
CFLAGS := -O3 -g
|
||||||
|
ifndef TRACY_NO_LTO
|
||||||
|
CFLAGS += -flto
|
||||||
|
endif
|
||||||
|
DEFINES := -DNDEBUG
|
||||||
|
BUILD := release-with-debug
|
||||||
|
|
||||||
|
include ../../../common/unix-debug.mk
|
||||||
|
|
||||||
|
ifeq ($(LEGACY),1)
|
||||||
|
include legacy.mk
|
||||||
|
else
|
||||||
|
include build.mk
|
||||||
|
endif
|
||||||
Loading…
x
Reference in New Issue
Block a user