Author Topic: Nightly, Release candidate or release version?  (Read 1564 times)

0 Members and 1 Guest are viewing this topic.

Offline Max-Max

Nightly, Release candidate or release version?
« on: September 27, 2013, 01:11:36 AM »
I saw there where some defines for this, but how does it work?
Is there a Single define I can check to see what version is compiled?
- My code doesn't have bugs. It develops random features...

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4069
  • Total likes: 98
  • Helpful: 146
  • Languages: EN, DE, AT
Re: Nightly, Release candidate or release version?
« Reply #1 on: September 27, 2013, 06:07:48 AM »
This line in simversion.h
Code: [Select]
#define SIM_VERSION_BUILD SIM_BUILD_NIGHTLY
controls it. It is changed to  _RELEASE and _RELEASE_CANDIDATE when time is ripe.
« Last Edit: September 27, 2013, 06:15:55 AM by Dwachs »
Parsley, sage, rosemary, and maggikraut.

Offline Max-Max

Re: Nightly, Release candidate or release version?
« Reply #2 on: September 28, 2013, 03:14:53 AM »
Thank you. I'm editing the resource script to automatically use different icons depending on the version and build.
- My code doesn't have bugs. It develops random features...