• sgjesse@chromium.org's avatar
    Added better version information · a4708472
    sgjesse@chromium.org authored
    The current version is now held in src/version.cc in a number of defines which needs to be modified when changing version.
    
    The following defines make up the version information:
    
      MAJOR_VERSION
      MINOR_VERSION
      BUILD_NUMBER
      PATCH_LEVEL
      CANDIDATE_VERSION
    
    The first four are numbers and the fifth is a boolean. Besides these five the define
    
      SONAME
    
    can be used to set a specific soname when building the a shared library (see below). This will most likely be used on stable branches where binary compatibility is ensured between different versions. This define is a string.
    
    This version information is now read by the SCons build to support setting the soname for a Linux shared library. This requires passing the option soname=on to the SCons build.
    
    When soname=on is specified the soname for the shared library can be set in two different ways. Either it will be the full versioned library name (e.g. libv8-1.2.2.so) or a specific soname defined in src/version.cc. Whenever a shared library is build with an soname the filename of the library will hold the full version name (e.g. libv8-1.2.2.so).
    
    I did not update the xcode project with the new files.
    
    BUG=151
    Review URL: http://codereview.chromium.org/100104
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1826 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    a4708472
Name
Last commit
Last update
..
README.txt Loading commit data...
arm.vsprops Loading commit data...
common.vsprops Loading commit data...
d8.vcproj Loading commit data...
d8js2c.cmd Loading commit data...
debug.vsprops Loading commit data...
ia32.vsprops Loading commit data...
js2c.cmd Loading commit data...
release.vsprops Loading commit data...
v8.sln Loading commit data...
v8.vcproj Loading commit data...
v8_arm.sln Loading commit data...
v8_base.vcproj Loading commit data...
v8_base_arm.vcproj Loading commit data...
v8_cctest.vcproj Loading commit data...
v8_cctest_arm.vcproj Loading commit data...
v8_mksnapshot.vcproj Loading commit data...
v8_process_sample.vcproj Loading commit data...
v8_shell_sample.vcproj Loading commit data...
v8_snapshot.vcproj Loading commit data...
v8_snapshot_cc.vcproj Loading commit data...