Author Topic: Automation of CodeWarrior project settings  (Read 4987 times)

Offline OS923

  • Platinum Member
  • *****
  • Posts: 888
Automation of CodeWarrior project settings
« 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.

Offline OS923

  • Platinum Member
  • *****
  • Posts: 888
Re: Automation of CodeWarrior project settings
« Reply #1 on: December 12, 2019, 06:33:13 AM »
It's almost finished.

Offline OS923

  • Platinum Member
  • *****
  • Posts: 888
Re: Automation of CodeWarrior project settings
« Reply #2 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.

Offline OS923

  • Platinum Member
  • *****
  • Posts: 888
Re: Automation of CodeWarrior project settings
« Reply #3 on: December 18, 2019, 07:30:40 AM »
See the demo project with API in the attachment.