Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Wizard script Disable Auto generate filename extension

(1/1)

BrianSidebotham:
Hi There,

Is there any way to do this? I can't see it from the wiki, but again I might be doing something daft! For AVR targets, the default output is not an exe.

Biplab:

--- Quote from: BrianSidebotham on September 21, 2007, 08:44:23 pm ---Is there any way to do this? I can't see it from the wiki, but again I might be doing something daft! For AVR targets, the default output is not an exe.

--- End quote ---

It's possible. Use the following command.

--- Code: ---target.SetTargetFilenameGenerationPolicy(tgfpPlatformDefault, tgfpNone);
--- End code ---

It will turn off the auto-extension generation. In case you want to disable auto prefix generation too, use the following command-

--- Code: ---target.SetTargetFilenameGenerationPolicy(tgfpNone, tgfpNone);
--- End code ---

It was added couple of months back and the Wiki has not been updated.

BrianSidebotham:
Thanks very much for that.

Navigation

[0] Message Index

Go to full version