Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: ogre722 on July 18, 2010, 02:34:33 am

Title: opening files after build
Post by: ogre722 on July 18, 2010, 02:34:33 am
I am compiling psp(playstation portable) code in codeblocks and i want to make the debugging process as painless as possible. What I want to do is after the build is complete, run a bat file and then open the .eboot in my emulator. I have found the post-build steps option but I don't know how the command system works. I have tried to find an explanation but information is scarce. If anyone can help it will be greatly appreciated.
Title: Re: opening files after build
Post by: oBFusCATed on July 18, 2010, 03:28:48 am
You have to place the path to the bat file in the post build step and it will be executed.
Title: Re: opening files after build
Post by: Pecan on July 18, 2010, 01:05:31 pm
For example:

Place into the post build step
Code
cmd.exe /c MyBatchCommands.cmd

where the file MyBatchCommadns.cmd contains a bunch of commands to execute.

or you could execute a single command like:

Code
cmd.exe /c c:\path\MyEmulator.exe myboot.eboot