I wanted to find out if it's possible in Eclipse/CDT to create a project that would create executables both in 32bit and 64bit format from the same project?
As far as I can tell from the .cproject file, it references the 64bit toolchain directly and there is no way to use them both, is there any work around?
Thanks in advance!
While I am not on Eclipse right now, you may be able to create a non-cproject (similar to Windows Visual Studio Solution) that contains your two .cprojects. IOW, when you build the outer layer (non-cproject), it builds both versions.
You are talking about Working Sets (if I understood correctly). While it's an option, it's far from ideal, because I'll have to maintain two project files from the same set of sources and will have to update them both each time include paths change, etc. What I wanted is to setup ONE project that can target (using build configurations maybe) two different platforms.