slygamer
Active Member
It does not exist, and it is a lot harder to do than "create new empty project, open Custom Build Rules dialog, check GCC build rule". A lot of effort would be required for very little benefit.
Unfortunately, the custom build rules are set per project, not per configuration. To have a Win32 build and a GP2X build, you need two separate projects. Perhaps in a future version of the IDE we will get per-configuration custom build rules, but at least this current version is a huge step up from previous versions of the IDE that had very primitive build rules.
I have done that successfully for a project that is for GP2X and Win32. Same source, just separate projects with different defines.Still this would I guess be solvable by including the same set of files in two projects.
Then have a #define GP2X or something like that to switch target dependant code.
You need to have separate projects containing the same source files, one for GP2X and one for Win32.