Author Topic: Build workspace fails  (Read 3512 times)

Offline jomeggs

  • Multiple posting newcomer
  • *
  • Posts: 92
Build workspace fails
« on: February 22, 2007, 05:51:43 pm »
Hi,
i hope, that i grabbed the correct forum here.

My Problem is as follows:

I've some dll projects in a workspace. For every project i've filled "Build optins -> Pre/post build steps -> Post-build steps" with:

cmd /c copy /y $(TARGET_OUTPUT_FILE) ..\..\_bin > nul

My goal therefore is, to collect all binary files of the workspace in a single directory. If i'm now going to compile all projects via "Build workspace" or "Rebuild workspace", than the pre-build script don't works as expected.

The variable $(TARGET_OUTPUT_FILE) contents the name of the target output file of the current active project all the time. There is no switching between compiling the individual projects. Because of that, the copy command fails, the expected file isn't found.

A possible solution might be, to switch the current active project if CB switches the project internaly.

This happens with CB 15. Feb. The described behavior eventually matches with bug #8709 (2006-Sep-08)

Many thanks (especially for this nearly perfekt IDE)
jomeggs
« Last Edit: February 23, 2007, 11:12:03 am by jomeggs »