esrlabs / bake

C++ build tool
http://esrlabs.github.io/bake
Other
26 stars 11 forks source link

Determine order of libs for linking #57

Open tea-age opened 8 years ago

tea-age commented 8 years ago

The order of libs for linking is crucial for e.g. the GCC linker. Bake could use a topological sort of all modules based on the dependency tree to determine the correct order of the corresponding libraries for linking.

aschaal commented 8 years ago

Discussed offline. For me it seems the order is correct. Waiting for feedback from tea-age to come up with an example.