Author Topic: [Solved] [Project Options]: Howto dependencies  (Read 4178 times)

Offline didier

  • Single posting newcomer
  • *
  • Posts: 9
[Solved] [Project Options]: Howto dependencies
« on: September 28, 2010, 09:01:47 pm »
Hi,

I have read the doc but still not clear for me ...
How can I declare dependencies between projects ?
Explicitly: how to declare to build project A before B if B depends on A and A sources are newer than their corresponding object files ?

Thanks to light me !
 :D
« Last Edit: September 29, 2010, 02:04:17 pm by didier »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: [Project Options]: Howto dependencies
« Reply #1 on: September 28, 2010, 10:12:32 pm »
How can I declare dependencies between projects ?
Right-click on a project, select "properties". On the tab "project settings" select "project dependencies" and adjust as needed.

Ps.: Did you read this:
http://www.codeblocks.org/docs/main_codeblocks_en3.html#x3-100001.8
???
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline didier

  • Single posting newcomer
  • *
  • Posts: 9
Re: [Project Options]: Howto dependencies
« Reply #2 on: September 29, 2010, 10:21:38 am »
Yess, I've readt it. What should I type in the text field ?
Seems not to be adapted to my need.
Because I want the project B that project A depends on must be updated just-in-time before project A.
And if I've understood, it has effect on project A only.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: [Project Options]: Howto dependencies
« Reply #3 on: September 29, 2010, 01:29:08 pm »
Yess, I've readt it. What should I type in the text field ?
What text field? There is no text field, but a check list box. Did you read/apply this:
Right-click on a project, select "properties". On the tab "project settings" select "project dependencies" and adjust as needed.
Carefully?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline didier

  • Single posting newcomer
  • *
  • Posts: 9
Re: [Project Options]: Howto dependencies
« Reply #4 on: September 29, 2010, 02:02:54 pm »
Humm, you're right.
I was focused in Build Targets pane, [Dependencies...].
Sorry... :?
« Last Edit: September 29, 2010, 02:04:37 pm by didier »