[Cppunit-cvs] cppunit2/src/opentest SConscript,1.1,1.2
Brought to you by:
blep
From: Baptiste L. <bl...@us...> - 2005-03-04 08:24:09
|
Update of /cvsroot/cppunit/cppunit2/src/opentest In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20052/src/opentest 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/opentest/SConscript,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SConscript 28 Feb 2005 22:11:57 -0000 1.1 --- SConscript 4 Mar 2005 08:23:39 -0000 1.2 *************** *** 1,19 **** ! Import( 'env' ) ! ! env = env.Copy( LIBPATH = '#libs' ) ! opentest_sources=""" texttestdriver.cpp ! """.split() ! ! static_lib = env.StaticLibrary( target='opentest', ! source=opentest_sources ) ! ! ! #shared_lib = env.SharedLibrary( target='cpput', ! # source=cpput_sources ) ! ! libs_dir='#libs' ! bin_dir='#bin' ! ! env.Install( libs_dir, static_lib ) --- 1,6 ---- ! Import( 'env buildLibary' ) ! buildLibary( env, """ texttestdriver.cpp ! """.split(), ! 'opentest' ) |