sivarajankumar / screen3d

Automatically exported from code.google.com/p/screen3d
0 stars 0 forks source link

[Tools/Sbs] library name pattern #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The goal of the enhancement is to abstract library name and version into 
sbs.xml files from the real complete library name

This enhancement is a preriquisite for Linux migration

impacts :
  - custom impacts :
    * sbs.xml => add version into "dependency" or "lib" 

<dependency name="boost" version="1.42">
  <includes>
    <path>${BOOST_INC_ROOT}</path>
  </includes>
  <libraries>
    <path>${BOOST_LIB_ROOT}</path>
    <lib>boost_thread-${BOOST_LIB_EXTENSION}</lib>
  </libraries>
</dependency>

or

<dependency name="boost">
  <includes>
    <path>${BOOST_INC_ROOT}</path>
  </includes>
  <libraries>
    <path>${BOOST_LIB_ROOT}</path>
    <lib version="1.42">boost_thread-${BOOST_LIB_EXTENSION}</lib>
  </libraries>
</dependency>

lib version is prior on dependency version

    * config files
fill variable <name-of-dependency>_LIB_PATTERN

example :
BOOST_LIB_PATTERN = ${NAME}-mwg34-${VERSION}
=> boost_thread-mwg34-1.42

available custom variables for lib pattern :
NAME : the name of the dependency (ex : boost_thread)
VERSION : full version (ex : 1.42)
VERSION_<i> : release, major, minor, ... version of lib version
  ex : VERSION_1 : 1 , VERSION_2 : 42

Original issue reported on code.google.com by thoratou@gmail.com on 19 May 2010 at 10:39

GoogleCodeExporter commented 8 years ago
lib patterns done

always need to implement VERSION_<i>

Original comment by thoratou@gmail.com on 30 May 2010 at 6:48

GoogleCodeExporter commented 8 years ago
status set to Medium, because VERSION_<i> is an advance feature and isn't 
necessary 
for Linux port

Original comment by thoratou@gmail.com on 1 Jun 2010 at 7:46

GoogleCodeExporter commented 8 years ago

Original comment by thoratou@gmail.com on 22 Jul 2010 at 2:37

GoogleCodeExporter commented 8 years ago
Urgency low (VERSION_<i> not necessary for now, due to description tag)

Original comment by thoratou@gmail.com on 27 Jul 2010 at 3:44

GoogleCodeExporter commented 8 years ago

Original comment by thoratou@gmail.com on 6 Sep 2010 at 9:20

GoogleCodeExporter commented 8 years ago
Migrated to SBS Issues :

http://code.google.com/p/sbs/issues/list

Original comment by thoratou@gmail.com on 26 Nov 2010 at 11:30