Conversion of project from CDT build to make project
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-14 10:19 AM
True Studio gives you the option of creating a project as either a CDT project or a make file project. Is it possible to convert an existing project to a make file project?
- Labels:
-
TrueSTUDIO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-14 12:11 PM
Sure. In project properties->C/C++ Build->Tool Chain Editor
Select GNU Make Builder instead of internal builder
When you build the project you'll see the makefiles created in Debug or Release etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-14 12:42 PM
Yep, I found it a few minutes ago. For some reason when I try and modify the makefile it always seems to revert to the original. It's not set for read only, so I'm trying to figure that out. I'm trying to run srec as part of the post build process, but make is having a problem with that too. Oh well, one step at a time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-14 12:55 PM
It is possible to run Eclipse from command line to build the project without GUI. This even works for me on headless Linux machines (though with different version of CDT, for different targets). Converting a CDT managed project to a makefile is a pain.
-- pa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-14 1:03 PM
The conversion was pretty simple once I found it. Now I have to get the post-processing commands to work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-14 1:31 PM
I got the post processing commands working. For anyone who might run into it, on Windows multiple commands are separated by ';' when doing a CDT build, but need to be separated by '&' when using a make file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-14 3:17 PM
@Community member​ -You have to turn off "Generate Makefiles automatically" in C/C++ Build after you've generated your starting point; otherwise it'll keep overwriting it...
