As I understand, if you have workspace and you go to Properties > Project Dependencies, you can choose ohter project that should build before the primary project is built.
For example, I have the primary project named
CoreBSP and other one called
stb_image which produces stb_image.a library.
This is the workspace, as I can see, its ok:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_workspace_file>
<Workspace title="CoreBspViewer">
<Project filename="stb_image/stb_image.cbp" />
<Project filename="CoreBSP.cbp">
<Depends filename="stb_image/stb_image.cbp" />
</Project>
</Workspace>
</CodeBlocks_workspace_file>
However, its not working at all, you have to build stb_image manually in order to link CoreBSP.
Build/Clean workspace also doesn't works, it builds only the activated project...
Am I missing something?
Im using CB 17.12 on Windows.