Author Topic: File dependency in a project  (Read 3549 times)

Offline fubo

  • Multiple posting newcomer
  • *
  • Posts: 38
File dependency in a project
« on: July 21, 2010, 12:01:36 pm »
Hi all,

I have a workspace with two projects, A and B. A generates (through a post build command) a binary file, A.bin. I need B (mainly a .s file of B) to be dependent on A.bin. I tried using dependencies into "Properties->Build targets->Dependencies", adding A.bin to "External dependency files", but it does not work (B is not regenerated).

What does "Additional output files" stand for?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: File dependency in a project
« Reply #1 on: July 21, 2010, 12:28:20 pm »
Have you tried to setup the project dependencies (Project -> Properties -> Dependencies)?
B should be dependent on A.
(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 fubo

  • Multiple posting newcomer
  • *
  • Posts: 38
Re: File dependency in a project
« Reply #2 on: July 21, 2010, 12:55:28 pm »
Yes and it does not work.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: File dependency in a project
« Reply #3 on: July 21, 2010, 01:33:48 pm »
Can you provide a simple test project?
(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 fubo

  • Multiple posting newcomer
  • *
  • Posts: 38
Re: File dependency in a project
« Reply #4 on: July 21, 2010, 01:44:09 pm »
My project is based on ARM RVCT, so there is a custom toolchain configuration.

But I solved the issue in my project in a tricky way...

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: File dependency in a project
« Reply #5 on: July 21, 2010, 02:00:44 pm »
Can you try reproduce the problem with the x86 gcc?
(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!]