I have two projects in my workspace, one is a program that depends on the other project which is a static library. I set up the program's project to depend on the library and link against the library, and when I go to build the program it indeed builds the static library first, then itself.
But what happens is, when I go to edit one of the static library's source files and build the program without editing the program, it builds the library and does not link the program against the updated library, which means I have to manually rebuild the program (including compiling, since Code::Blocks doesn't seem to provide a feature to just link). Is there any way to have Code::Blocks automatically link against the updated library in that case?