Other Parts Discussed in Thread: CCSTUDIO
When I execute my build using the command-line instead of the GUI interface, I'm noticing that errors are not stopping the build nor is any system error status being returned. This is causing problems with my continuous integration tool, Hudson (http://hudson-ci.org/). I'm invoking the compilation as a Windows Batch command and Hudson is looking for a %ERRORLEVEL% != 0 to indicate a failure. Unfortunately, the command line always returns a '0' for this and Hudson thinks the build was successful...when it wasn't.
I'm following the instructions located here for invoking the build: http://processors.wiki.ti.com/index.php/Projects_-_Command_Line_Build/Create
- Is there any way to force the build to abort and return a system error status in the event of a failed build?
- I know that part of the build process creates some makefiles (these disappear when a project is cleaned and re-appear when a project is built.) Is there a way to invoke the creation of these using the command-line without the project actually being built? I'm thinking I could implement a workaround, if the above is not possible, by calling gmake on the makefile files directly. The problem is that these are auto-generated by invoking the build itself.
Any other hints or tips to get around this will be appreciated.
Thanks!
--tim