Compiler Automation - Simple Test File Output for Warnings/Errors

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Compiler Automation - Simple Test File Output for Warnings/Errors

Jump to solution
1,993 Views
Deedah
Contributor I
I have done some searching through the forums.  Here's what I'm looking for:

A simple way to automate the builds of several codewarrior projects (S12X) and output the warnings/errors to  text files, which I can use to add to a larger build log.  The only ways I've heard of in forums so far to get this information from the IDE is using COM/OLE stuff which I find extremely kludgy and time consuming. 
Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
909 Views
CrasyCat
Specialist III
Hello
 
When building HC08 or HC12 application, you can redirect error messages to a file using the option
   -EnvERRORFILE.
 
Please look at FAQ-28403 on www.freescale.com for more information.
 
In order to automate the build of several project you can create a main project and add the projects you want to build as sub-project from this project.
.
Take a look at {Install}\Help\PDF\8_16bit_IDE_Users_Guide.pdf chapter "Projects", section "Working with Projects" -> "Managing Projects" -> "Subprojects" for information on how to achieve that.
 
 
CrasyCat

View solution in original post

0 Kudos
Reply
2 Replies
910 Views
CrasyCat
Specialist III
Hello
 
When building HC08 or HC12 application, you can redirect error messages to a file using the option
   -EnvERRORFILE.
 
Please look at FAQ-28403 on www.freescale.com for more information.
 
In order to automate the build of several project you can create a main project and add the projects you want to build as sub-project from this project.
.
Take a look at {Install}\Help\PDF\8_16bit_IDE_Users_Guide.pdf chapter "Projects", section "Working with Projects" -> "Managing Projects" -> "Subprojects" for information on how to achieve that.
 
 
CrasyCat
0 Kudos
Reply
909 Views
J2MEJediMaster
Specialist I
You can use the command-line tools and .bat files or make files to automate your builds. For output logs, check out this thread, which discusses how to redirect error output.

---Tom