User forums > General (but related to Code::Blocks)

SetTargetFilenameGenerationPolicy in scripts

(1/1)

Lazybones:
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

Biplab:
The functions available through script can be found at the following link.

--- Quote ---http://wiki.codeblocks.org/index.php?title=Scripting_commands
--- End quote ---

Other functions are not accessible through Scripting.

Regards,

Biplab

mandrav:
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.

Navigation

[0] Message Index

Go to full version