Mac OS 9 Lives

Mac OS 9 Discussion => Development & Programming => Topic started by: OS923 on December 02, 2019, 08:39:50 AM

Title: Automation of CodeWarrior project settings
Post by: OS923 on December 02, 2019, 08:39:50 AM
The problem is that I have hundreds of projects and I keep having different settings for similar projects and I can't get it right.

CodeWarrior projects can be exported as XML. I wrote a program which converts this XML to a binary format as well as to a Scheme expression. This can then easily be processed by C++ or Scheme programs.

Now I'm writing C++ classes which read this binary format. (50% done.) Then I have C++ objects. These will be used to compare the settings of all my projects.
Title: Re: Automation of CodeWarrior project settings
Post by: OS923 on December 12, 2019, 06:33:13 AM
It's almost finished.
Title: Re: Automation of CodeWarrior project settings
Post by: OS923 on December 16, 2019, 08:16:25 AM
In 33 seconds it converts my 485 project XMLs to binary format and Scheme and it reads the binary format into memory as C++ objects. That's 15 per second.
Title: Re: Automation of CodeWarrior project settings
Post by: OS923 on December 18, 2019, 07:30:40 AM
See the demo project with API in the attachment.