At 01:37 PM 9/29/2003, Regis St-Gelais wrote:
I know that I can mark it manualy. As Keith said, I want something automatic
a every build.

Do you want this to occur only if another file is dirty, or anytime you hit the build button? What about when you hit debug and the IDE checks to see if anything needs a rebuild?


The solution we encourage is to do your release builds from the command line using "ide.exe", i.e.

c:\cwpalmos9\bin\ide.exe /t "Release" /r /b /q MyProject.mcp

That will force rebuilding everything in your project. You can put this in a batch file or make file and also alter one of your headers to include build number or version number info.

While we've done plugins that number autobuilds in the past, we abandoned them in-house for a solution like this because of issues like the ones I brought up in the first paragraph. If you combine this script with something that checks out your files from version control and writes a tag or marker back to the database, you'll have the ability to easily restore to any build that you've done.


--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com



-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to