Update of /cvsroot/cppunit/cppunit2
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14084
Modified Files:
sconstruct
Log Message:
* added a library for cpptl for threading functionnalies.
Index: sconstruct
===================================================================
RCS file: /cvsroot/cppunit/cppunit2/sconstruct,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** sconstruct 5 Mar 2005 10:52:18 -0000 1.9
--- sconstruct 6 Mar 2005 18:49:05 -0000 1.10
***************
*** 46,49 ****
--- 46,51 ----
CXX ='xlC_r', #scons does not pick-up the correct one !
LINKFLAGS='-bh:5' ) # -bh:5 remove duplicate symbol warning
+ # using xlC_r ensure multi-threading is enabled:
+ # http://publib.boulder.ibm.com/infocenter/pseries/index.jsp?topic=/com.ibm.vacpp7a.doc/compiler/ref/cuselect.htm
elif platform == 'msvc6':
env['MSVS_VERSION']='6.0'
***************
*** 63,66 ****
--- 65,69 ----
elif platform == 'mingw':
env.Tool( 'mingw' )
+ env.Append( CPPDEFINES=[ "WIN32", "NDEBUG", "_MT" ] )
elif platform == 'linux-gcc':
env.Tool( 'default' )
***************
*** 72,76 ****
LIBPATH = lib_dir )
! env_testing = env.Copy( LIBS = ['cpput','opentest'] )
def buildCppUnitExample( env, target_sources, target_name ):
--- 75,79 ----
LIBPATH = lib_dir )
! env_testing = env.Copy( LIBS = ['cpput','opentest','cpptl'] )
def buildCppUnitExample( env, target_sources, target_name ):
***************
*** 98,101 ****
--- 101,105 ----
buildProjectInDirectory( 'src/cpput' )
+ buildProjectInDirectory( 'src/cpptl' )
buildProjectInDirectory( 'src/opentest' )
buildProjectInDirectory( 'src/cpputtest' )
|