Generating Project Build Scripts
But how can I do this more directly?
In older versions of Eclipse, with other C++ toolchains, I could kick-off a build that accessed the generated makefiles. This is getting more difficult. Relying on a “headless build” allows the IDE and add-in developers to be more creative but makes my job harder.
I’m working on more serious code and dislike the opaque way the toolchain works inside the IDE. For example. there are environment variables put into the spawned shells that aren’t controlled. I don’t really know how the build operates The project needs to have tight control over tools and build procedures so each tool can be validated and the process can be ensured to produce the same binaries on all build machines.
Right now, I can’t build using makefiles because:
There’s a special environement variable (I think) “objects.list” added to the archive command.
Include paths are fully qualified even though they are defined as relative. In the Settings, it shows the command line using the “-I../../” format but the makefiles get fully-qualified paths; “C:/mcustuff/...” Someone is really “helping” but it’s really not helpful. I don’t see an option to turn path expansion off.
Perhaps I need to toss using the AC6 toolchain and go with Cygwin gcc (This is Windows) or just go IAR.
Thoughts and suggestions?