I do a lot of cross development on sngle chip micros using GCC and have most of the compilation using makefiles. Can the IDE be used with such makefiles?
mr_ped Messages: 825 Registered: November 2005 Location: Czech Republic - Praha
Experienced Contributor
I would love to have such featur too, to be able to use IDE only for edit and building projects with pmake within IDE.
Than again, you can still use IDE to edit sources, and run make in separate command line window.
Makes the error messages from compiler harder to follow, so it's probably not as efficient as your current setup, it's up to you to consider such setup. I don't like it yet, but I will maybe evaluate it later.
Thinking about it, there is "build script" option in TheIDE that allows implementing your own builder using Esc scripts. I guess you should be able to adapt it to call external makefile.
BTW, the last thing I will probably add to TheIDE before 602 release will be quite opposite - "make mode" of TheIDE (start it as "umake" capable of building U++ packages).
To my surprise, I have found that current U++ macro system supports "Execute" command to invoke external code (in TheIDE's console).
So in theory, it should be possible
macro "Make" Alt+M {
Execute("make ....");
}
...put this into the file with .usc extension in TheIDE's directory (or your package directory) - theide will find it and add this macro to the "Macro" menu.