muphicks
Still Fresh
Currently I have setup a Visual Studio 2005 solution to contain two separate projects. The first named "Win_MyDemo" is setup as a standard win32 project for use with SDL. The second project "GP2X_MyDemo" is setup to use a custom build rules file and includes an extra trigger.link file as described on the wiki, again setup to link to SDL but this time the devkitpro/devkitGP2X/ sdl files.
This setup works, in that doing a build/build will rebuild both projects producing a windows exe and gp2x gpe. However, since these are separate projects for the sole purpose of using different build rules, the actual source files need adding to both projects whenever I create a new .cpp or .h file.
I know its a minor issue, but can this be avoided? Is there a way to have a single project that can be switched between a windows build and gp2x build rules?
I've looked into adding a new configuration to the config dropdown such that alongside "Debug" and "Release" is the "Arm-Linux-Release" option. However, this doesn't appear to be feasible as the moment you setup the custom build rules for the arm-linux-release configuration, the standard compiler settings are removed from all three configuations.
Is there another way?
This setup works, in that doing a build/build will rebuild both projects producing a windows exe and gp2x gpe. However, since these are separate projects for the sole purpose of using different build rules, the actual source files need adding to both projects whenever I create a new .cpp or .h file.
I know its a minor issue, but can this be avoided? Is there a way to have a single project that can be switched between a windows build and gp2x build rules?
I've looked into adding a new configuration to the config dropdown such that alongside "Debug" and "Release" is the "Arm-Linux-Release" option. However, this doesn't appear to be feasible as the moment you setup the custom build rules for the arm-linux-release configuration, the standard compiler settings are removed from all three configuations.
Is there another way?