So why did we bother?
The new build architecture gives us the following benefits:
- We can now select to build each part as a separate library or simply include the sources. Both has its pros and cons, and now we get to choose using a very simple syntax.
- We no longer have to specify build parameters for each library, they are inferred automatically and you only supply them if you need to override the defaults.
- All the include paths have been cleaned up so now all #include "../libs/libX/subfolder/SomeClass.hpp" are converted to #include "subfolder/SomeClass.hpp"
At this stage it builds fine but more work will have to be put in before we can leverage this new system to get shorter build times and other benefits as promised.