- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
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!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Jim Dempsey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Thanks again,
Eli
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page