summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/msvccompiler.py
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-06-28 01:29:09 (GMT)
committerGreg Ward <gward@python.net>2000-06-28 01:29:09 (GMT)
commitbfc79d644adff429c51c90c21a0126d2ab983b32 (patch)
treeb06a950dae9696a8bffbc3ea8350bf17fd8c7e32 /Lib/distutils/msvccompiler.py
parent7d9c705b234ad2ad013db1649e5fd2ffc2a59a75 (diff)
downloadcpython-bfc79d644adff429c51c90c21a0126d2ab983b32.zip
cpython-bfc79d644adff429c51c90c21a0126d2ab983b32.tar.gz
cpython-bfc79d644adff429c51c90c21a0126d2ab983b32.tar.bz2
Lyle Johnson: added 'build_temp' parameter to 'link_shared_{lib,object}()'
methods (but not 'link_executable()', hmmm). Currently only used by BCPPCompiler; it's a dummy parameter for UnixCCompiler and MSVCCompiler. Also added 'bcpp' to compiler table used by 'new_compiler()'.
Diffstat (limited to 'Lib/distutils/msvccompiler.py')
-rw-r--r--Lib/distutils/msvccompiler.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/Lib/distutils/msvccompiler.py b/Lib/distutils/msvccompiler.py
index 2e80ed5..db8bd35 100644
--- a/Lib/distutils/msvccompiler.py
+++ b/Lib/distutils/msvccompiler.py
@@ -1,4 +1,4 @@
-"""distutils.ccompiler
+"""distutils.msvccompiler
Contains MSVCCompiler, an implementation of the abstract CCompiler class
for the Microsoft Visual Studio."""
@@ -322,7 +322,8 @@ class MSVCCompiler (CCompiler) :
export_symbols=None,
debug=0,
extra_preargs=None,
- extra_postargs=None):
+ extra_postargs=None,
+ build_temp=None):
self.link_shared_object (objects,
self.shared_library_name(output_libname),
@@ -333,7 +334,8 @@ class MSVCCompiler (CCompiler) :
export_symbols=export_symbols,
debug=debug,
extra_preargs=extra_preargs,
- extra_postargs=extra_postargs)
+ extra_postargs=extra_postargs,
+ build_temp=build_temp)
def link_shared_object (self,
@@ -346,7 +348,8 @@ class MSVCCompiler (CCompiler) :
export_symbols=None,
debug=0,
extra_preargs=None,
- extra_postargs=None):
+ extra_postargs=None,
+ build_temp=None):
(objects, output_dir) = self._fix_object_args (objects, output_dir)
(libraries, library_dirs, runtime_library_dirs) = \