Ignore:
Timestamp:
Feb 20, 2016 8:37:37 PM (4 years ago)
Author:
bradbell
Message:

merge to branch: trunk
from repository: https://github.com/coin-or/CppAD
start hash code: 431e0a227dbfe6172d265d9d79a2b5b258c5bc18
end hash code: 1d6dc964379103ffc27725c649e22416e1cd233b

commit 1d6dc964379103ffc27725c649e22416e1cd233b
Author: Brad Bell <bradbell@…>
Date: Sat Feb 20 18:34:50 2016 -0700

  1. Fix version number on cppad_lib.so.
  2. Advance to cppad-20160220.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cppad_lib/CMakeLists.txt

    r3788 r3790  
    1515#        <replace_expression> <output variable>
    1616#        <input> [<input>...])
     17#
     18# (year - 2000) dot (remove leading 0 from mmdd) dot (release)
     19# Note that the dot (release) is optional
     20# Also name that when mmdd is 0000 get (year - 2000) dot dot (release)
    1721STRING(REGEX REPLACE
    18         "([0-9][0-9][0-9][0-9])([0-9]*)[.]([0-9]*)"
    19         "\\1.\\2.\\3"
     22        "20([0-9][0-9])0*([0-9]*)([.]?[0-9]*)"
     23        "\\1.\\2\\3"
    2024        soversion
    2125        ${cppad_version}
     26)
     27# In case where mmdd is 0000, dot (release) is present. Convert to
     28# (year - 2000) dot 0 dot (release)
     29STRING(REGEX REPLACE
     30        "([.][.])"
     31        ".0."
     32        soversion
     33        ${soversion}
    2234)
    2335MESSAGE(STATUS "soversion=${soversion}")
Note: See TracChangeset for help on using the changeset viewer.