Project Dependencies
Posted: Wed Jan 30, 2013 6:18 pm
I have a workspace with two projects: a static library, and an executable that needs to be linked to the static library. Getting this set up was pretty simple to accomplish, and the executable compiles and links as expected. I've also set the build order so any request to build the executable also attempts to build the static library.
However, consider the case where I make code changes in the static library project, but don't make any code changes in the executable project. It seems that if I attempt to build the executable's project, it builds the static library, but since no changes were made to the executable project, the executable's linker is not run. So, the output of the executable's project is not changed.
Is there some way to tell CodeLite to always run the linker for the executable's project any time there are code changes in the static library project?
----------------------------------------------
CodeLite 5.0.2613 (Official Build)
Windows 8
Sourcery CodeBench Lite Compiler
However, consider the case where I make code changes in the static library project, but don't make any code changes in the executable project. It seems that if I attempt to build the executable's project, it builds the static library, but since no changes were made to the executable project, the executable's linker is not run. So, the output of the executable's project is not changed.
Is there some way to tell CodeLite to always run the linker for the executable's project any time there are code changes in the static library project?
----------------------------------------------
CodeLite 5.0.2613 (Official Build)
Windows 8
Sourcery CodeBench Lite Compiler