News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

$object location for file on separate drive

Started by dfatcb, May 23, 2012, 09:59:41 PM

Previous topic - Next topic

dfatcb

Hello,

I have a source module (happens to be .asm, but think this applies to all types) that is on a different drive X:.  So I add that file to the project and when it builds it ends up creating subfolders for the file under the output target object folder as in X\path\filename.obj  .  Is there an option to have it output the .obj file to the normal object output folder without creating all the sub-folders?

Thanks.

Freem

You will need to change destination of objects files.
This option is in project's options -> build targets -> objects output dir

Obviously, C::B will change that for all sources of the defined target.
If you need such behavior for a subset of sources, you will need to define new targets for each subset. Or maybe you can write scripts, but it will probably be harder.

Jenna

You can try what happens, if you check "Generate extended object names" on the "Project settings"-tab (first tab) of the projects properties.

I'm not on windows at the moment and can not test.