Debian Codegraph @

3rdparty/tracy/profiler/build/unix/legacy.mk

raw
1 CFLAGS +=
2 CXXFLAGS := $(CFLAGS) -std=c++17
3 DEFINES += -DIMGUI_ENABLE_FREETYPE
4 INCLUDES := $(shell pkg-config --cflags glfw3 freetype2 capstone) -I../../../imgui
5 LIBS := $(shell pkg-config --libs glfw3 freetype2 capstone) -lpthread -ldl
6
7 PROJECT := Tracy
8 IMAGE := $(PROJECT)-$(BUILD)
9
10 FILTER := ../../../nfd/nfd_win.cpp
11 include ../../../common/src-from-vcxproj.mk
12
13 ifdef TRACY_NO_FILESELECTOR
14 CXXFLAGS += -DTRACY_NO_FILESELECTOR
15 else
16 UNAME := $(shell uname -s)
17 ifeq ($(UNAME),Darwin)
18 SRC3 += ../../../nfd/nfd_cocoa.m
19 LIBS += -framework CoreFoundation -framework AppKit -framework UniformTypeIdentifiers
20 else
21 ifdef TRACY_GTK_FILESELECTOR
22 SRC += ../../../nfd/nfd_gtk.cpp
23 INCLUDES += $(shell pkg-config --cflags gtk+-3.0)
24 LIBS += $(shell pkg-config --libs gtk+-3.0)
25 else
26 SRC += ../../../nfd/nfd_portal.cpp
27 INCLUDES += $(shell pkg-config --cflags dbus-1)
28 LIBS += $(shell pkg-config --libs dbus-1)
29 endif
30 endif
31 endif
32
33 include ../../../common/unix.mk