21 introduces a separate Flag class, in addition to the existing AddFlags and FlagsConfig.
The Flags and FlagsConfig classes should be combined into one, allowing conditional (AddFlags) and unconditional flags to be used in one object. Additionally to path-specific flags, we need to:
[ ] Support compiler-specific flags in general (likely move flags from the steps into the compiler class, so we can have different flags for intel and gnu etc)
[ ] Support com0plation modes: fast_debug, release etc - different sets of flags.
[ ] have conditionals depending on compiler version
[ ] combination of compiler version and path
[ ] Need to be able to remove flags (esp. taking OpenMP into account, which might need to work tightly with the compiler object, since the name of the openmp flag is part of the compiler tool)
21 introduces a separate Flag class, in addition to the existing
AddFlags
andFlagsConfig
.The Flags and FlagsConfig classes should be combined into one, allowing conditional (AddFlags) and unconditional flags to be used in one object. Additionally to path-specific flags, we need to:
fast_debug
,release
etc - different sets of flags.