News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Wizard script Disable Auto generate filename extension

Started by BrianSidebotham, September 21, 2007, 08:44:23 PM

Previous topic - Next topic

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.

It's possible. Use the following command.
target.SetTargetFilenameGenerationPolicy(tgfpPlatformDefault, tgfpNone);

It will turn off the auto-extension generation. In case you want to disable auto prefix generation too, use the following command-
target.SetTargetFilenameGenerationPolicy(tgfpNone, tgfpNone);

It was added couple of months back and the Wiki has not been updated.
Be a part of the solution, not a part of the problem.

BrianSidebotham