viewpoint-particle

Author Topic: Build managment  (Read 326 times)

erezpaz

  • Newbie
  • *
  • Posts: 44
Build managment
« on: March 02, 2017, 10:50:07 am »
Hi

Is there a way to automatically step a build when compiling an exe? I want to automatically rise the build number from version to version. It is very hard to track the changes and build numbers when compiling and sending the exe to multi customers.

Thanks

td

  • Tech Support
  • *****
  • Posts: 2140
    • WinBatch
Re: Build managment
« Reply #1 on: March 02, 2017, 11:25:47 am »
Every compiled script has an accompanying .cmp compiler options file.  The file has the structure of an .ini file.  This means that you can read and write to the file using the WIL Init related functions.    So all you need to do is write a script that increments the file and/or product version information in what ever way want in the .cmp file(s) then runs the compiler (in batch mode if you prefer.)   
"Success is a lousy teacher. It seduces smart people into thinking they can't lose."
  - Bill Gates