[Cppunit-cvs] cppunit2/src/cpputtest SConscript,1.9,1.10
Brought to you by:
blep
From: Baptiste L. <bl...@us...> - 2005-03-04 08:24:06
|
Update of /cvsroot/cppunit/cppunit2/src/cpputtest In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20052/src/cpputtest 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/cpputtest/SConscript,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** SConscript 3 Mar 2005 08:15:54 -0000 1.9 --- SConscript 4 Mar 2005 08:23:39 -0000 1.10 *************** *** 1,7 **** ! # cpputtest build script ! ! Import( 'env_testing' ) ! cpputtest_sources=""" assertenumtest.cpp assertstringtest.cpp --- 1,5 ---- ! Import( 'env_testing buildLibraryUnitTest' ) ! buildLibraryUnitTest( env_testing, """ assertenumtest.cpp assertstringtest.cpp *************** *** 16,32 **** testtestsuite.cpp reflectiontest.cpp ! """.split() ! ! #cpputtest_env = env.Copy(LIBS = ['cpput-vc6-rd']) ! #cpputtest_env.Append( CCFLAGS = ' -DCPPUT_DLL' ) ! ! cpputtest_exe = env_testing.Program( target='cpputtest', ! source=cpputtest_sources ) ! ! #cpputtest_env.Depends( cpputtest_exe, '#libs/cpput-vc6-rd.lib' ) ! ! ! # should not be ! bin_dir='#bin' ! ! env_testing.Install( bin_dir, cpputtest_exe ) --- 14,17 ---- testtestsuite.cpp reflectiontest.cpp ! """.split(), ! 'cpputtest' ) |