Open ghost opened 7 years ago
The buildsystem design will be changed after mixin
support is added to the typesystem (#590). Mixins will allow dynamically adding fields to an object after it has been defined. This allows the buildsystem to split concerns; where right now all C/C++ flags are located in the package
object, language specific settings can then be captured in their own mixin
type.
After this design has taken place, it would be good to see how this feature can be best designed in. I agree this is useful functionality.
Corto's build system has become impressively stable and feature-rich supporting osx and linux projects. Several dependencies require platform dependent build flags such as macros or switch for variable size (-m32 or -m64). I propose we specify support for multiple platforms to ensure packages and applications are as portable as possible between build systems. I consider this functionality to be similar to the logic the build system employs to install packaged binaries from "Install" directory.