diff options
author | snermolaev <snermolaev@yandex-team.com> | 2023-11-16 08:41:34 +0300 |
---|---|---|
committer | snermolaev <snermolaev@yandex-team.com> | 2023-11-16 09:07:17 +0300 |
commit | 757daaf2c7bc30fb49d2c6b44db8e686032ebfbc (patch) | |
tree | f6abd57bd22564ee1283da77c662b1981b841d11 | |
parent | ea1d20d54b4d91664c641248604615377941c921 (diff) | |
download | ydb-757daaf2c7bc30fb49d2c6b44db8e686032ebfbc.tar.gz |
new GLOBAL_CFLAGS macro
-rw-r--r-- | build/ymake.core.conf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf index b4725b6db24..eb62bcf8851 100644 --- a/build/ymake.core.conf +++ b/build/ymake.core.conf @@ -3871,6 +3871,14 @@ macro CFLAGS(Flags...) { } # tag:flags +### @usage: GLOBAL_CFLAGS(compiler_flags) +### +### Add the specified flags to the compilation command of C and C++ files and propagate these flags to dependent projects +macro GLOBAL_CFLAGS(Flags...) { + SET_APPEND_WITH_GLOBAL(USER_CFLAGS ${pre=GLOBAL :Flags}) +} + +# tag:flags ### @usage: MASMFLAGS(compiler flags) ### Add the specified flags to the compilation command of .masm files. macro MASMFLAGS(Flags...) { |