Update of /cvsroot/cppunit/cppunit2
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv13273
Modified Files:
.cvsignore sconstruct
Log Message:
* added doc and doc-dist target to generate doc and doc tarball.
Index: sconstruct
===================================================================
RCS file: /cvsroot/cppunit/cppunit2/sconstruct,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** sconstruct 5 Jun 2006 13:22:57 -0000 1.27
--- sconstruct 5 Jun 2006 14:03:23 -0000 1.28
***************
*** 2,5 ****
--- 2,10 ----
import os.path
+ CPPUNIT_VERSION = '0.1'
+ DIST_DIR = '#dist'
+
+
+
options = Options()
##options.Add( 'platform', 'platform used to build cppunit 2: suncc, vacpp, mingw, msvc6, msvc7, msvc71, msvc80, linux-gcc', 'mingw' )
***************
*** 18,21 ****
--- 23,27 ----
print "Building using PLATFORM =", platform
+ rootbuild_dir = Dir('#buildscons')
build_dir = os.path.join( '#buildscons', platform )
bin_dir = os.path.join( '#bin', platform )
***************
*** 32,36 ****
env = Environment( ENV = {'PATH' : os.environ['PATH']},
! tools=[] ) #, tools=['default'] )
if platform == 'suncc':
--- 38,43 ----
env = Environment( ENV = {'PATH' : os.environ['PATH']},
! toolpath = ['scons-tools'],
! tools=['doxygen', 'srcdist', 'substinfile', 'targz'] )
if platform == 'suncc':
***************
*** 80,84 ****
LIBPATH = lib_dir )
env.Append( CPPDEFINES = [ "CPPTL_NO_AUTOLINK" ] ) # naming convention are not respected
!
env_testing = env.Copy( )
env_testing.Append( LIBS = ['cpput','opentest','cpptl'] )
--- 87,94 ----
LIBPATH = lib_dir )
env.Append( CPPDEFINES = [ "CPPTL_NO_AUTOLINK" ] ) # naming convention are not respected
! env['CPPUNIT_VERSION'] = CPPUNIT_VERSION
! env['BUILD_DIR'] = env.Dir(build_dir)
! env['ROOTBUILD_DIR'] = env.Dir(rootbuild_dir)
! env['DIST_DIR'] = DIST_DIR
env_testing = env.Copy( )
env_testing.Append( LIBS = ['cpput','opentest','cpptl'] )
***************
*** 153,154 ****
--- 163,165 ----
#buildProjectInDirectory( 'src/qttestdriver' )
buildProjectInDirectory( 'test/shmem_test' )
+ buildProjectInDirectory( 'doc' )
Index: .cvsignore
===================================================================
RCS file: /cvsroot/cppunit/cppunit2/.cvsignore,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** .cvsignore 5 Jun 2006 13:22:57 -0000 1.6
--- .cvsignore 5 Jun 2006 14:03:23 -0000 1.7
***************
*** 7,8 ****
--- 7,9 ----
dependencies
env.bat
+ dist
|