Update of /cvsroot/cppunit/cppunit2/src/cpput
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20052/src/cpput
Modified Files:
SConscript
Log Message:
* added buildLibrary() and buildLibraryUnitTest() exported functions to sconstruct
* refactored sconscript to use the exported functions
* build productions are now placed in a platform specific subdirectory (bin/mingw/...)
Index: SConscript
===================================================================
RCS file: /cvsroot/cppunit/cppunit2/src/cpput/SConscript,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** SConscript 23 Feb 2005 23:10:58 -0000 1.3
--- SConscript 4 Mar 2005 08:23:39 -0000 1.4
***************
*** 1,7 ****
! Import( 'env' )
!
! env = env.Copy( LIBPATH = '#libs' )
! cpput_sources="""
assert.cpp
assertstring.cpp
--- 1,5 ----
! Import( 'env buildLibary' )
! buildLibary( env, """
assert.cpp
assertstring.cpp
***************
*** 14,28 ****
testsuite.cpp
thread.cpp
! """.split()
!
! static_lib = env.StaticLibrary( target='cpput',
! source=cpput_sources )
!
!
! #shared_lib = env.SharedLibrary( target='cpput',
! # source=cpput_sources )
!
! libs_dir='#libs'
! bin_dir='#bin'
!
! env.Install( libs_dir, static_lib )
--- 12,15 ----
testsuite.cpp
thread.cpp
! """.split(),
! 'cpput' )
|