Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: Lazybones on April 11, 2007, 02:45:27 pm

Title: SetTargetFilenameGenerationPolicy in scripts
Post by: Lazybones on April 11, 2007, 02:45:27 pm
Hi!

I am trying to change the default executable extension via a script on win32, but there is no matching function. After a look at compiletargetbase.cpp, there is a function SetTargetFilenameGenerationPolicy(), which does exactly what I want, but this function is not accessible from the script.

Is there any way to set the flags from the script or make SetTargetFilenameGenerationPolicy accessible?

Thanks
 Sven
Title: Re: SetTargetFilenameGenerationPolicy in scripts
Post by: Biplab on April 11, 2007, 03:04:50 pm
The functions available through script can be found at the following link.
Quote
http://wiki.codeblocks.org/index.php?title=Scripting_commands

Other functions are not accessible through Scripting.

Regards,

Biplab
Title: Re: SetTargetFilenameGenerationPolicy in scripts
Post by: mandrav on April 11, 2007, 03:25:42 pm
Not all SDK functions are exposed yet to scripts. This usually happens when a new function is added in the SDK. Usually it takes some time until it is exposed to scripts.