(self, verbose=0, dry_run=0, force=0)
| 224 | exe_extension = '.exe' |
| 225 | |
| 226 | def __init__(self, verbose=0, dry_run=0, force=0): |
| 227 | CCompiler.__init__ (self, verbose, dry_run, force) |
| 228 | self.__version = get_build_version() |
| 229 | self.__arch = get_build_architecture() |
| 230 | if self.__arch == "Intel": |
| 231 | # x86 |
| 232 | if self.__version >= 7: |
| 233 | self.__root = r"Software\Microsoft\VisualStudio" |
| 234 | self.__macros = MacroExpander(self.__version) |
| 235 | else: |
| 236 | self.__root = r"Software\Microsoft\Devstudio" |
| 237 | self.__product = "Visual Studio version %s" % self.__version |
| 238 | else: |
| 239 | # Win64. Assume this was built with the platform SDK |
| 240 | self.__product = "Microsoft SDK compiler %s" % (self.__version + 6) |
| 241 | |
| 242 | self.initialized = False |
| 243 | |
| 244 | |
| 245 | # -- Miscellaneous methods ----------------------------------------- |
nothing calls this directly
no test coverage detected