User forums > Using Code::Blocks
Build all targets, or target interdependencies
stahta01:
--- Quote from: fubo on July 27, 2018, 11:27:49 am ---The trick is ok, but it does not work if a target depends on pre-build steps. In my case, the via file is generated from C::B variables (different for each target) using the pre-build step, but this step is executed only for first target.
Tested on C::B 17.12.
As per http://forums.codeblocks.org/index.php?topic=15572.0, I should specify the pre/post-build steps for EACH target, but as they are the same for all targets (they changes as I am using variables), it is more efficient to have it in project pane, instead of target pane.
--- End quote ---
Without seeing the pre/post commands I see no way to help you.
Tim S.
Navigation
[0] Message Index
[*] Previous page
Go to full version