Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: jimmyo on August 10, 2007, 09:16:19 am
-
Hello,
i have 2 projects in one workspace.
the first project create a dynamic library (*.so)
and the second create a executable to thest this
dynamic library.
the executable project is the active project.
if i change something in the first project, it does not
compile it at F8. Is there a way to set a build dependency ?
Thanks.
Jimmy
-
Hi !
Right click on your exe project and click on Properties...
Click on Build targets tab and then on the dependencies button.
Dje
-
Thanks for help.
Jimmy
-
Hi Jimmy,
I'm having similar issues with static libs. If I make a static lib in project 1 and use it project 2, the second project doesn't relink when the lib has changed. In project 2 I added the lib in the linker settings.
Must I really set the external dependency (by hand) even if I added the lib in the build options of the 2nd project?
Jan
-
Yes you should.
Dje