Revision: 1283
http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1283&view=rev
Author: roman_yakovenko
Date: 2008-03-17 00:45:39 -0700 (Mon, 17 Mar 2008)
Log Message:
-----------
adding support for Visual Studio 8.0+
Modified Paths:
--------------
pyplusplus_dev/unittests/autoconfig.py
Modified: pyplusplus_dev/unittests/autoconfig.py
===================================================================
--- pyplusplus_dev/unittests/autoconfig.py 2008-03-16 11:13:48 UTC (rev 1282)
+++ pyplusplus_dev/unittests/autoconfig.py 2008-03-17 07:45:39 UTC (rev 1283)
@@ -30,15 +30,17 @@
@staticmethod
def create_sconstruct():
code = [
- "SharedLibrary( target=r'%(target)s'"
- , " , source=[ %(sources)s ]"
- , " , LIBS=[ %s ]" % ','.join( [ 'r"%s"' % lib for lib in scons_config.libs ] )
- , " , LIBPATH=[ %s ]" % ','.join( [ 'r"%s"' % path for path in scons_config.libpath ] )
- , " , CPPPATH=[ %s ]" % ','.join( [ 'r"%s"' % path for path in scons_config.include_dirs] )
- , " , CCFLAGS=[ %s ]" % ','.join( [ 'r"%s"' % flag for flag in scons.ccflags ] )
- , " , SHLIBPREFIX=''"
- , " , SHLIBSUFFIX='%s'" % scons.suffix #explicit better then implicit
- , ")" ]
+ "env = Environment()"
+ , "env.SharedLibrary( target=r'%(target)s'"
+ , " , source=[ %(sources)s ]"
+ , " , LIBS=[ %s ]" % ','.join( [ 'r"%s"' % lib for lib in scons_config.libs ] )
+ , " , LIBPATH=[ %s ]" % ','.join( [ 'r"%s"' % path for path in scons_config.libpath ] )
+ , " , CPPPATH=[ %s ]" % ','.join( [ 'r"%s"' % path for path in scons_config.include_dirs] )
+ , " , CCFLAGS=[ %s ]" % ','.join( [ 'r"%s"' % flag for flag in scons.ccflags ] )
+ , " , SHLIBPREFIX=''"
+ , " , SHLIBSUFFIX='%s'" % scons.suffix #explicit better then implicit
+ , ")"
+ , "env.AddPostAction('%(target)s', 'mt.exe -nologo -manifest %(target)s.pyd.manifest -outputresource:%(target)s.pyd;2' )" ]
return os.linesep.join( code )
#I need this in order to allow Python to load just compiled modules
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|