Replies: 2 comments
-
add_project and add_global arguments also takes a matching native argument. If you don’t set the native argument both default to the host machine |
Beta Was this translation helpful? Give feedback.
0 replies
-
Probably because warn_flags = ['-Wexpansion-to-defined', '-Wformat-security', ... ]
add_project_arguments(cc.get_supported_arguments(warn_flags), native: false, language: 'c')
add_project_arguments(cc.get_supported_arguments(warn_flags), native: true, language: 'c') |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Something I just noticed, anyone know why that is?
Beta Was this translation helpful? Give feedback.
All reactions