kiuliani / geoda

Automatically exported from code.google.com/p/geoda
GNU General Public License v3.0
0 stars 0 forks source link

Move version info into header file #84

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Currently GeoDa version info used in the About Dialog is hard-coded into the 
xrc file.  This requires recompiling the XRC file frequently and makes it 
difficult for other tools such as build scripts to access the version info.  
Frequently-changing info should be moved into a version.h file.

Original issue reported on code.google.com by mmcc...@gmail.com on 17 Feb 2014 at 4:24

GoogleCodeExporter commented 8 years ago
Finished in GeoDa 1.5.26, SVN revision 3033.

namespace Gda {
    int version_major = 1;
    int version_minor = 5;
    int version_build = 26;
    int version_year = 2014;
    int version_month = 2;
    int version_day = 17;
    int version_type = 1; // 0: alpha, 1: beta, 2: release
}

Format is kept simple so that version.h can be parsed by automatic build 
scripts.

Original comment by mmcc...@gmail.com on 17 Feb 2014 at 4:51