Compiler Automation - Simple Test File Output for Warnings/Errors

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Compiler Automation - Simple Test File Output for Warnings/Errors

跳至解决方案
1,786 次查看
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. 
标签 (1)
标记 (1)
0 项奖励
回复
1 解答
702 次查看
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 项奖励
回复
2 回复数
703 次查看
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 项奖励
回复
702 次查看
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