Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: DoMeN on October 30, 2006, 10:28:09 am

Title: Running non-Linux executables with a simulator in code::blocks
Post by: DoMeN on October 30, 2006, 10:28:09 am
Is it somehow possible to give code::blocks parameters to use a simulator for executable execution?

For example:

use simulator: yes/no
simulator path: path to simulator
simulator parameters: some flags, $executable_name
Title: Re: Running non-Linux executables with a simulator in code::blocks
Post by: tiwag on October 30, 2006, 11:33:16 am
you can use the Tools Menu and pass the macros

$(TARGET_OUTPUT_DIR)
$(TARGET_OUTPUT_FILE)


e.g.

Executable: usr/bin/Simulatorxy
Parameters: flags, $(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_FILE)



brgds
Title: Re: Running non-Linux executables with a simulator in code::blocks
Post by: DoMeN on October 30, 2006, 01:30:55 pm
Is it possible to link this tool to start when you click on run project button?
Title: Re: Running non-Linux executables with a simulator in code::blocks
Post by: Pecan on October 30, 2006, 02:18:42 pm
Is it possible to link this tool to start when you click on run project button?

You can't redirect the taskbar button, but you can redefine the menu run key with keybinder.

Or just use keybinder to define a  key for your tool.