Code::Blocks Forums

User forums => Help => Topic started by: dfatcb on January 18, 2016, 05:57:17 am

Title: Dependency won't depend...
Post by: dfatcb on January 18, 2016, 05:57:17 am
Hi,

Using Code::Blocks on Debian 2.6.32-5-686 Build Feb 2 2013, 19:57:47 - wx2.8.10 (Linux, unidoe) - 32bit .. SVN 8832

I have a workspace with a project that builds an application and another that builds a static library.  The static library is in a different directory tree than the application.

I tried to setup the app (both debug and release) to depend on the /path/to/the/lib/(debug|release)/libmylib.a   Then generated a rebuild workspace.  It deleted everything then went to build the app and reference the dependency saying "no such file or directory".  Which of course it doesn't exist which should trigger it to rebuild.

What is wrong here?

TIA!!

Title: Re: Dependency won't depend...
Post by: oBFusCATed on January 18, 2016, 08:39:45 am
Probably you need to setup a project dependency. Project -> Properties -> Project Dependencies.
Title: Re: Dependency won't depend...
Post by: dfatcb on January 18, 2016, 09:09:40 pm
yep, that was it.  was setting it up in the build targets instead of seeing that button down there.