Above fix solves a lot of the issue, however cross-module dependencies are not handled correctly:
- building with -j2+ will cause failures due to cmake trying to build several modules in parallel that are interdependent
- incomplete linking of dependent libraries into smokegtk causes modules/tests/helloworld to fail to build
Dependency information can be found in the .gir files (but is sadly not always complete or correct :( ), so ideally the compiler should also be able to tell use about this at cmake time. If that turns out to be too much effort I'll just manually specify the dependencies in our build files.
Above fix solves a lot of the issue, however cross-module dependencies are not handled correctly: tests/helloworl d to fail to build
- building with -j2+ will cause failures due to cmake trying to build several modules in parallel that are interdependent
- incomplete linking of dependent libraries into smokegtk causes modules/
Dependency information can be found in the .gir files (but is sadly not always complete or correct :( ), so ideally the compiler should also be able to tell use about this at cmake time. If that turns out to be too much effort I'll just manually specify the dependencies in our build files.