I'm not sure I understand. Can you please post the exact steps needed to reproduce the problem?
I use two sets of compilers, and three different architectures library(x86, i686, x64). So, I hope that each object files compiled in accordance with different architectures can be placed in a different directory..
When I do it by manually everything is correct(use 'Project/targets options' dialog to modify the objs directory). But do it with a script always invalid.
My steps are as follows:
========================
1. Write a script, use the 'SetObjectOutput' function modify the objs output directory, and 'SetOutputFilename' function modify the target output directory.
2. In the 'Project/targets options' dialog , add the script to the project (rather than the target), click ok button.
3. Build the target...
The output of compiler logging be seen from the 'build log' window, objs output directory does not change. So, the 'SetObjectOutput' function modifies the objs directory is invalid. At the same time, the 'SetOutputFilename' function modifies the target output directory is correct.
I suspect that the command-line generator missing the update for objs output directory.