User forums > Using Code::Blocks
File dependency in a project
fubo:
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?
oBFusCATed:
Have you tried to setup the project dependencies (Project -> Properties -> Dependencies)?
B should be dependent on A.
fubo:
Yes and it does not work.
oBFusCATed:
Can you provide a simple test project?
fubo:
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...
Navigation
[0] Message Index
[#] Next page
Go to full version