gradle / gradle-native

The home of Gradle's support for natively compiled languages
https://blog.gradle.org/introducing-the-new-cpp-plugins
Apache License 2.0
91 stars 8 forks source link

Disallow `-D` and `-U` compiler flag in favor of using the macro model #1013

Open lacasseio opened 5 years ago

lacasseio commented 5 years ago

Expected Behavior

Macro compiler flags -D and -U should not be used. Instead, users should be using the models.

Current Behavior

Compiler flags influencing the macros aren't taken into account when building the software.

Context

Steps to Reproduce (for bugs)

Your Environment