diff --git a/capture/build/unix/build.mk b/capture/build/unix/build.mk index 0043c193..99c1418e 100644 --- a/capture/build/unix/build.mk +++ b/capture/build/unix/build.mk @@ -1,6 +1,6 @@ CFLAGS += CXXFLAGS := $(CFLAGS) -std=gnu++14 -DEFINES += +DEFINES += -DTRACY_NO_STATISTICS INCLUDES := LIBS := -lpthread IMAGE := capture diff --git a/capture/build/win32/capture.vcxproj b/capture/build/win32/capture.vcxproj index 39712627..de2ef07e 100644 --- a/capture/build/win32/capture.vcxproj +++ b/capture/build/win32/capture.vcxproj @@ -85,7 +85,7 @@ true true true - _CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;WIN32_LEAN_AND_MEAN;NOMINMAX;_USE_MATH_DEFINES;%(PreprocessorDefinitions) + TRACY_NO_STATISTICS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;WIN32_LEAN_AND_MEAN;NOMINMAX;_USE_MATH_DEFINES;%(PreprocessorDefinitions) AdvancedVectorExtensions2 @@ -116,7 +116,7 @@ true true true - NDEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;WIN32_LEAN_AND_MEAN;NOMINMAX;_USE_MATH_DEFINES;%(PreprocessorDefinitions) + TRACY_NO_STATISTICS;NDEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;WIN32_LEAN_AND_MEAN;NOMINMAX;_USE_MATH_DEFINES;%(PreprocessorDefinitions) AdvancedVectorExtensions2