Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: fitzsean on April 11, 2007, 02:12:30 pm
-
Hi all,
Is there any way in a .script file to add files recursively. The closest I can see is GetProjectManager().AddFileToProject(..,..,..) but I cant even find a way to loop through a directory and add the files it finds. Any help would be greatly appreciated.
Cheers
S
-
... but I cant even find a way to loop through a directory and add the files it finds. Any help would be greatly appreciated.
The scripting system is not a full fledged programming language. So if you want to use any such advanced feature, write a plugin instead.
Regards,
Biplab
-
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.
-
The scripting system is a full fledged programming language, it just not have the same standard library you would expect of of scripting language. Make and CMake both have "scripting systems" which are real languages, and suffer for it. Code::Blocks took the right route by actually using a scripting language.