User forums > Using Code::Blocks
Pre-build Squirrel scripting question
MortenMacFly:
--- Quote from: ironhead on December 02, 2009, 12:42:50 pm ---My question is, is IO.Execute the best way to make a system call?
--- End quote ---
Yes. Notice the C::B script security must be configured correctly to allow (system) IO calls.
ironhead:
--- Quote from: MortenMacFly on December 02, 2009, 03:26:13 pm ---
--- Quote from: ironhead on December 02, 2009, 12:42:50 pm ---My question is, is IO.Execute the best way to make a system call?
--- End quote ---
Yes. Notice the C::B script security must be configured correctly to allow (system) IO calls.
--- End quote ---
Agreed... I had to allow the script to launch executables
Is it possible to have the Pre-build step call a script? I tried with:
--- Code: ---[[ Include(_T("svnversion.script")); GenerateSvnVersion(); ]]
--- End code ---
Where svnversion.script contained the GenerateSvnVersion() function. It gave me an error when I tried this implementation.
Navigation
[0] Message Index
[*] Previous page
Go to full version