User forums > Using Code::Blocks

Running non-Linux executables with a simulator in code::blocks

(1/1)

DoMeN:
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

tiwag:
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

DoMeN:
Is it possible to link this tool to start when you click on run project button?

Pecan:

--- Quote from: 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?

--- End quote ---

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.

Navigation

[0] Message Index

Go to full version