2020-07-31 16:14:12 +00:00
|
|
|
CFLAGS +=
|
2018-05-07 23:21:19 +00:00
|
|
|
CXXFLAGS := $(CFLAGS) -std=c++17
|
2021-08-22 11:11:26 +00:00
|
|
|
DEFINES += -DIMGUI_ENABLE_FREETYPE
|
2023-11-15 13:41:45 +00:00
|
|
|
INCLUDES := -I../../../imgui $(shell pkg-config --cflags freetype2 capstone wayland-egl egl wayland-cursor xkbcommon)
|
2022-12-19 23:35:43 +00:00
|
|
|
LIBS := $(shell pkg-config --libs freetype2 capstone wayland-egl egl wayland-cursor xkbcommon) -lpthread -ldl
|
2020-09-29 02:00:06 +00:00
|
|
|
|
2018-06-27 18:31:17 +00:00
|
|
|
PROJECT := Tracy
|
|
|
|
IMAGE := $(PROJECT)-$(BUILD)
|
2017-09-15 20:45:23 +00:00
|
|
|
|
2022-12-19 23:35:43 +00:00
|
|
|
FILTER := ../../../nfd/nfd_win.cpp ../../src/BackendGlfw.cpp ../../src/imgui/imgui_impl_glfw.cpp
|
2020-07-31 16:53:50 +00:00
|
|
|
include ../../../common/src-from-vcxproj.mk
|
2018-07-13 16:01:36 +00:00
|
|
|
|
2024-01-30 17:13:28 +00:00
|
|
|
SRC += ../../src/BackendWayland.cpp ../../src/WaylandDisplay.cpp ../../src/WaylandPointer.cpp ../../src/WaylandKeyboard.cpp ../../src/WaylandWindow.cpp ../../src/WaylandOutput.cpp
|
2022-12-19 23:35:43 +00:00
|
|
|
SRC2 += ../../src/wayland/xdg-shell.c ../../src/wayland/xdg-activation.c ../../src/wayland/xdg-decoration.c
|
|
|
|
|
2021-03-16 23:51:24 +00:00
|
|
|
ifdef TRACY_NO_FILESELECTOR
|
|
|
|
CXXFLAGS += -DTRACY_NO_FILESELECTOR
|
2018-07-13 16:01:36 +00:00
|
|
|
else
|
2022-12-19 23:35:43 +00:00
|
|
|
ifdef TRACY_GTK_FILESELECTOR
|
|
|
|
SRC += ../../../nfd/nfd_gtk.cpp
|
|
|
|
INCLUDES += $(shell pkg-config --cflags gtk+-3.0)
|
|
|
|
LIBS += $(shell pkg-config --libs gtk+-3.0)
|
2021-03-16 23:51:24 +00:00
|
|
|
else
|
2022-12-19 23:35:43 +00:00
|
|
|
SRC += ../../../nfd/nfd_portal.cpp
|
|
|
|
INCLUDES += $(shell pkg-config --cflags dbus-1)
|
|
|
|
LIBS += $(shell pkg-config --libs dbus-1)
|
2021-03-16 23:51:24 +00:00
|
|
|
endif
|
2018-07-13 16:01:36 +00:00
|
|
|
endif
|
2017-09-15 20:45:23 +00:00
|
|
|
|
2020-07-31 16:53:50 +00:00
|
|
|
include ../../../common/unix.mk
|