Author Topic: Dependency won't depend...  (Read 2379 times)

Offline dfatcb

  • Multiple posting newcomer
  • *
  • Posts: 67
Dependency won't depend...
« 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!!


Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Dependency won't depend...
« Reply #1 on: January 18, 2016, 08:39:45 am »
Probably you need to setup a project dependency. Project -> Properties -> Project Dependencies.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline dfatcb

  • Multiple posting newcomer
  • *
  • Posts: 67
Re: Dependency won't depend...
« Reply #2 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.