Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

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

OS923

  • 512 MB
  • *****
  • 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.
Logged

OS923

  • 512 MB
  • *****
  • Posts: 888
Re: Automation of CodeWarrior project settings
« Reply #1 on: December 12, 2019, 06:33:13 AM »

It's almost finished.
Logged

OS923

  • 512 MB
  • *****
  • 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.
Logged

OS923

  • 512 MB
  • *****
  • 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.
Logged
Pages: [1]   Go Up

Recent Topics