Trick-17 / clang-build

Clang-based cross platform build system written in Python
https://clang-build.readthedocs.io
MIT License
8 stars 3 forks source link

Add project- and target-properties to deactivate default flags #131

Open GPMueller opened 3 years ago

GPMueller commented 3 years ago

While our defaults are opinionated, we cannot claim that our flags are always the right choice. Therefore, I would like to add a switch on both project- and target-level to deactivate them:

[myexe]
  default_compile_flags = false
  default_link_flags = false

The feature is already implemented in BuildFlags, it just needs to be exposed.