You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature Request] Add check action to buildOptions #2296
This a good idea but having to do specialized mappings of compiler flags to buildOptions is not scalable. There's always gonna be compiler flags that haven't been mapped. Why don't we provide a way to append compiler flags via --dflags=.. CLI options instead of DFLAGS dub ... which doesn't always work. For instance
Activity
nordlow commentedon Aug 19, 2022
Can we set
buildOptionsfrom the command-line?nordlow commentedon Aug 19, 2022
This a good idea but having to do specialized mappings of compiler flags to buildOptions is not scalable. There's always gonna be compiler flags that haven't been mapped. Why don't we provide a way to append compiler flags via
--dflags=..CLI options instead ofDFLAGS dub ...which doesn't always work. For instanceDFLAGS=-checkaction=context dub ...fails as in cases such as libmir/mir-algorithm#417 (comment).WebFreak001 commentedon Feb 13, 2023
@nordlow dflags can be added per-dependency now, this buildOption suggestion is still a useful one
nordlow commentedon Feb 13, 2023
Do you have a reference to this new feature you're referring to?
WebFreak001 commentedon Feb 13, 2023
@nordlow I meant specifying dflags on dependencies: https://docs.webfreak.org/dub-reference/build_settings/#dependencies