User forums > Using Code::Blocks

opening files after build

(1/1)

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

oBFusCATed:
You have to place the path to the bat file in the post build step and it will be executed.

Pecan:
For example:

Place into the post build step

--- Code: ---cmd.exe /c MyBatchCommands.cmd
--- End code ---

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

--- End code ---

Navigation

[0] Message Index

Go to full version