User forums > Help
Cross-platform projects and targets
mandrav:
--- Quote from: Game_Ender on July 11, 2006, 03:56:09 pm ---
--- Quote from: mandrav on July 11, 2006, 01:30:12 pm ---Unfortunately, currently there's no way to avoid this.
--- End quote ---
I hate to argue with the guy who made the IDE, but cant you accomplish this with scripts? You can attach a script to the target and script can check platform and then adjust project options accordingly. From a very quick look at the script interface this seems possible.
On another note, it doesn't seem to hard to be able to add a platform options to each target. Something like "compile under", and then a wxChoice box with Linux, Windows, All (and soon Mac).
--- End quote ---
Heh, yes it is possible this way. I was just referring to the GUI.
You know I 'm always pro-scripting ;)
Here's a read for the OP: http://wiki.codeblocks.org/index.php?title=Build_scripts
Commodore64:
The point is that C::B should be told not to touch the settings of a target if the compiler of that target does not exist in the current C::B profile.
Navigation
[0] Message Index
[*] Previous page
Go to full version