Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: otaco on May 29, 2007, 05:49:11 pm
-
Hi folks,
I work on a library (windows) and I want test the features of it with some test programs. So I created a workspace and imported the project of the lib and some projects that uses the lib.
Now my problem?
If I work on a test program using the lib, it often happens that I must change some code within the library (because I found a bug or something). Now I have to change to the lib-project compile it to a dll, compile it to a lib, change to my test-project an recompile that one.
Is there a a possibility to automate these steps?
Thanks for answers...
-
Is there a a possibility to automate these steps?
Use project dependencies (project properties -> tab "project settings" -> button "project dependencies") and maybe dependencies to external files (e.g. your lib) in addition (project properties -> tab "build targets" -> button "dependencies"). For project dependencies you (surely) need to have the projects in a workspace.
With regards, Morten.
-
Hi@all
I have also a problem in using project dependencies in Codeblocks 8.02.
I have a static lib project(1) and a executable project(2).
Project dependencies ist setup to 2->1. After cleaning both projects I can not build 2 because the lib.a from 1 is not existing.
Why does not Codeblocks automatically create the lib?
Also defining the lib as external dependency in target dialog does not change anything.
Where is the trick?
please help......