From 3c60e7609436ab78ef530027dbe2f102e9ab890c Mon Sep 17 00:00:00 2001 From: Kbz-8 Date: Wed, 10 Jan 2024 18:49:38 +0100 Subject: [PATCH] adding xmake profiler option --- xmake.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xmake.lua b/xmake.lua index eb33c11..93f72d0 100644 --- a/xmake.lua +++ b/xmake.lua @@ -39,6 +39,11 @@ option("graphics_memory_dump") add_defines("GRAPHICS_MEMORY_DUMP") option_end() +option("profiler") + set_default(false) + add_defines("PROFILER") +option_end() + -- Targets target("mlx")