|
@@ -3870,6 +3870,14 @@ macro CFLAGS(Flags...) {
|
|
|
SET_APPEND_WITH_GLOBAL(USER_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.
|