Browse Source

Add NO_PROFILE_RUNTIME macros

spreis 1 year ago
parent
commit
619fb79db1
1 changed files with 8 additions and 1 deletions
  1. 8 1
      build/ymake.core.conf

+ 8 - 1
build/ymake.core.conf

@@ -4122,11 +4122,18 @@ macro NO_CLANG_COVERAGE() {
     DISABLE(CLANG_COVERAGE)
 }
 
+# tag:coverage
+### @usage: NO_PROFILE_RUNTIME()
+###
+### Never link this target with profile runtime. Only should be used for very basic build tools
+macro NO_PROFILE_RUNTIME() {
+    DISABLE(NEED_PROFILE_RUNTIME)
+}
+
 macro NO_CLANG_TIDY() {
     DISABLE(TIDY_ENABLED)
 }
 
-
 # tag:lua-specific
 LUAJIT_PATH=${ARCADIA_ROOT}/contrib/libs/luajit
 macro _LUAJIT_OBJDUMP(Src, OUT="") {