Author Topic: SetTargetFilenameGenerationPolicy in scripts  (Read 3069 times)

Offline Lazybones

  • Multiple posting newcomer
  • *
  • Posts: 14
SetTargetFilenameGenerationPolicy in scripts
« 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

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: SetTargetFilenameGenerationPolicy in scripts
« Reply #1 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
Be a part of the solution, not a part of the problem.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: SetTargetFilenameGenerationPolicy in scripts
« Reply #2 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.
Be patient!
This bug will be fixed soon...