1 <?xml version="1.0" encoding="utf-8"?> 2 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 3 <ItemGroup Label="ProjectConfigurations"> 4 <ProjectConfiguration Include="Debug|Win32"> 5 <Configuration>Debug</Configuration> 6 <Platform>Win32</Platform> 7 </ProjectConfiguration> 8 <ProjectConfiguration Include="Debug|x64"> 9 <Configuration>Debug</Configuration> 10 <Platform>x64</Platform> 11 </ProjectConfiguration> 12 <ProjectConfiguration Include="PGInstrument|Win32"> 13 <Configuration>PGInstrument</Configuration> 14 <Platform>Win32</Platform> 15 </ProjectConfiguration> 16 <ProjectConfiguration Include="PGInstrument|x64"> 17 <Configuration>PGInstrument</Configuration> 18 <Platform>x64</Platform> 19 </ProjectConfiguration> 20 <ProjectConfiguration Include="PGUpdate|Win32"> 21 <Configuration>PGUpdate</Configuration> 22 <Platform>Win32</Platform> 23 </ProjectConfiguration> 24 <ProjectConfiguration Include="PGUpdate|x64"> 25 <Configuration>PGUpdate</Configuration> 26 <Platform>x64</Platform> 27 </ProjectConfiguration> 28 <ProjectConfiguration Include="Release|Win32"> 29 <Configuration>Release</Configuration> 30 <Platform>Win32</Platform> 31 </ProjectConfiguration> 32 <ProjectConfiguration Include="Release|x64"> 33 <Configuration>Release</Configuration> 34 <Platform>x64</Platform> 35 </ProjectConfiguration> 36 </ItemGroup> 37 <PropertyGroup Label="Globals"> 38 <ProjectGuid>{CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26}</ProjectGuid> 39 <RootNamespace>pythoncore</RootNamespace> 40 </PropertyGroup> 41 <Import Project="python.props" /> 42 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> 43 <PropertyGroup Label="Configuration"> 44 <ConfigurationType>DynamicLibrary</ConfigurationType> 45 <UseOfMfc>false</UseOfMfc> 46 </PropertyGroup> 47 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 48 <ImportGroup Label="ExtensionSettings"> 49 </ImportGroup> 50 <PropertyGroup> 51 <KillPython>true</KillPython> 52 <RequirePGCFiles>true</RequirePGCFiles> 53 <IncludeExternals Condition="$(IncludeExternals) == '' and Exists('$(zlibDir)\zlib.h')">true</IncludeExternals> 54 <IncludeExternals Condition="$(IncludeExternals) == ''">false</IncludeExternals> 55 </PropertyGroup> 56 <ImportGroup Label="PropertySheets"> 57 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 58 <Import Project="pyproject.props" /> 59 </ImportGroup> 60 <PropertyGroup Label="UserMacros" /> 61 <PropertyGroup> 62 <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> 63 <TargetName>$(PyDllName)</TargetName> 64 </PropertyGroup> 65 <PropertyGroup> 66 <CustomBuildBeforeTargets>Link</CustomBuildBeforeTargets> 67 </PropertyGroup> 68 <ItemDefinitionGroup> 69 <ClCompile> 70 <AdditionalOptions>/Zm200 %(AdditionalOptions)</AdditionalOptions> 71 <AdditionalIncludeDirectories>$(PySourcePath)Python;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 72 <AdditionalIncludeDirectories Condition="$(IncludeExternals)">$(zlibDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 73 <PreprocessorDefinitions>_USRDLL;Py_BUILD_CORE;Py_ENABLE_SHARED;MS_DLL_ID="$(SysWinVer)";%(PreprocessorDefinitions)</PreprocessorDefinitions> 74 <PreprocessorDefinitions Condition="$(IncludeExternals)">_Py_HAVE_ZLIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> 75 </ClCompile> 76 <Link> 77 <AdditionalDependencies>version.lib;shlwapi.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies> 78 </Link> 79 </ItemDefinitionGroup> 80 <ItemGroup> 81 <ClInclude Include="..\Include\abstract.h" /> 82 <ClInclude Include="..\Include\accu.h" /> 83 <ClInclude Include="..\Include\asdl.h" /> 84 <ClInclude Include="..\Include\ast.h" /> 85 <ClInclude Include="..\Include\bitset.h" /> 86 <ClInclude Include="..\Include\boolobject.h" /> 87 <ClInclude Include="..\Include\bytes_methods.h" /> 88 <ClInclude Include="..\Include\bytearrayobject.h" /> 89 <ClInclude Include="..\Include\bytesobject.h" /> 90 <ClInclude Include="..\Include\cellobject.h" /> 91 <ClInclude Include="..\Include\ceval.h" /> 92 <ClInclude Include="..\Include\classobject.h" /> 93 <ClInclude Include="..\Include\code.h" /> 94 <ClInclude Include="..\Include\codecs.h" /> 95 <ClInclude Include="..\Include\compile.h" /> 96 <ClInclude Include="..\Include\complexobject.h" /> 97 <ClInclude Include="..\Include\context.h" /> 98 <ClInclude Include="..\Include\datetime.h" /> 99 <ClInclude Include="..\Include\descrobject.h" /> 100 <ClInclude Include="..\Include\dictobject.h" /> 101 <ClInclude Include="..\Include\dynamic_annotations.h" /> 102 <ClInclude Include="..\Include\enumobject.h" /> 103 <ClInclude Include="..\Include\errcode.h" /> 104 <ClInclude Include="..\Include\eval.h" /> 105 <ClInclude Include="..\Include\fileobject.h" /> 106 <ClInclude Include="..\Include\fileutils.h" /> 107 <ClInclude Include="..\Include\floatobject.h" /> 108 <ClInclude Include="..\Include\frameobject.h" /> 109 <ClInclude Include="..\Include\funcobject.h" /> 110 <ClInclude Include="..\Include\genobject.h" /> 111 <ClInclude Include="..\Include\graminit.h" /> 112 <ClInclude Include="..\Include\grammar.h" /> 113 <ClInclude Include="..\Include\import.h" /> 114 <ClInclude Include="..\Include\internal\ceval.h" /> 115 <ClInclude Include="..\Include\internal\condvar.h" /> 116 <ClInclude Include="..\Include\internal\context.h" /> 117 <ClInclude Include="..\Include\internal\gil.h" /> 118 <ClInclude Include="..\Include\internal\hamt.h" /> 119 <ClInclude Include="..\Include\internal\mem.h" /> 120 <ClInclude Include="..\Include\internal\pystate.h" /> 121 <ClInclude Include="..\Include\internal\warnings.h" /> 122 <ClInclude Include="..\Include\intrcheck.h" /> 123 <ClInclude Include="..\Include\iterobject.h" /> 124 <ClInclude Include="..\Include\listobject.h" /> 125 <ClInclude Include="..\Include\longintrepr.h" /> 126 <ClInclude Include="..\Include\longobject.h" /> 127 <ClInclude Include="..\Include\marshal.h" /> 128 <ClInclude Include="..\Include\memoryobject.h" /> 129 <ClInclude Include="..\Include\metagrammar.h" /> 130 <ClInclude Include="..\Include\methodobject.h" /> 131 <ClInclude Include="..\Include\modsupport.h" /> 132 <ClInclude Include="..\Include\moduleobject.h" /> 133 <ClInclude Include="..\Include\namespaceobject.h" /> 134 <ClInclude Include="..\Include\node.h" /> 135 <ClInclude Include="..\Include\object.h" /> 136 <ClInclude Include="..\Include\objimpl.h" /> 137 <ClInclude Include="..\Include\odictobject.h" /> 138 <ClInclude Include="..\Include\opcode.h" /> 139 <ClInclude Include="..\Include\osdefs.h" /> 140 <ClInclude Include="..\Include\osmodule.h" /> 141 <ClInclude Include="..\Include\parsetok.h" /> 142 <ClInclude Include="..\Include\patchlevel.h" /> 143 <ClInclude Include="..\Include\pgen.h" /> 144 <ClInclude Include="..\Include\pgenheaders.h" /> 145 <ClInclude Include="..\Include\pyhash.h" /> 146 <ClInclude Include="..\Include\py_curses.h" /> 147 <ClInclude Include="..\Include\pyarena.h" /> 148 <ClInclude Include="..\Include\pycapsule.h" /> 149 <ClInclude Include="..\Include\pyctype.h" /> 150 <ClInclude Include="..\Include\pydebug.h" /> 151 <ClInclude Include="..\Include\pyerrors.h" /> 152 <ClInclude Include="..\Include\pyexpat.h" /> 153 <ClInclude Include="..\Include\pyfpe.h" /> 154 <ClInclude Include="..\Include\internal\pygetopt.h" /> 155 <ClInclude Include="..\Include\pylifecycle.h" /> 156 <ClInclude Include="..\Include\pymath.h" /> 157 <ClInclude Include="..\Include\pytime.h" /> 158 <ClInclude Include="..\Include\pymacro.h" /> 159 <ClInclude Include="..\Include\pymem.h" /> 160 <ClInclude Include="..\Include\pyport.h" /> 161 <ClInclude Include="..\Include\pystate.h" /> 162 <ClInclude Include="..\Include\pystrcmp.h" /> 163 <ClInclude Include="..\Include\pystrtod.h" /> 164 <ClInclude Include="..\Include\pystrhex.h" /> 165 <ClInclude Include="..\Include\dtoa.h" /> 166 <ClInclude Include="..\Include\Python-ast.h" /> 167 <ClInclude Include="..\Include\Python.h" /> 168 <ClInclude Include="..\Include\pythonrun.h" /> 169 <ClInclude Include="..\Include\pythread.h" /> 170 <ClInclude Include="..\Include\rangeobject.h" /> 171 <ClInclude Include="..\Include\setobject.h" /> 172 <ClInclude Include="..\Include\sliceobject.h" /> 173 <ClInclude Include="..\Include\structmember.h" /> 174 <ClInclude Include="..\Include\structseq.h" /> 175 <ClInclude Include="..\Include\symtable.h" /> 176 <ClInclude Include="..\Include\sysmodule.h" /> 177 <ClInclude Include="..\Include\token.h" /> 178 <ClInclude Include="..\Include\traceback.h" /> 179 <ClInclude Include="..\Include\tupleobject.h" /> 180 <ClInclude Include="..\Include\ucnhash.h" /> 181 <ClInclude Include="..\Include\unicodeobject.h" /> 182 <ClInclude Include="..\Include\weakrefobject.h" /> 183 <ClInclude Include="..\Modules\_math.h" /> 184 <ClInclude Include="..\Modules\hashtable.h" /> 185 <ClInclude Include="..\Modules\rotatingtree.h" /> 186 <ClInclude Include="..\Modules\sre.h" /> 187 <ClInclude Include="..\Modules\sre_constants.h" /> 188 <ClInclude Include="..\Modules\sre_lib.h" /> 189 <ClInclude Include="..\Modules\_io\_iomodule.h" /> 190 <ClInclude Include="..\Modules\cjkcodecs\alg_jisx0201.h" /> 191 <ClInclude Include="..\Modules\cjkcodecs\cjkcodecs.h" /> 192 <ClInclude Include="..\Modules\cjkcodecs\emu_jisx0213_2000.h" /> 193 <ClInclude Include="..\Modules\cjkcodecs\mappings_cn.h" /> 194 <ClInclude Include="..\Modules\cjkcodecs\mappings_hk.h" /> 195 <ClInclude Include="..\Modules\cjkcodecs\mappings_jisx0213_pair.h" /> 196 <ClInclude Include="..\Modules\cjkcodecs\mappings_jp.h" /> 197 <ClInclude Include="..\Modules\cjkcodecs\mappings_kr.h" /> 198 <ClInclude Include="..\Modules\cjkcodecs\mappings_tw.h" /> 199 <ClInclude Include="..\Modules\cjkcodecs\multibytecodec.h" /> 200 <ClInclude Include="..\Objects\stringlib\count.h" /> 201 <ClInclude Include="..\Objects\stringlib\fastsearch.h" /> 202 <ClInclude Include="..\Objects\stringlib\find.h" /> 203 <ClInclude Include="..\Objects\stringlib\partition.h" /> 204 <ClInclude Include="..\Objects\stringlib\replace.h" /> 205 <ClInclude Include="..\Objects\stringlib\split.h" /> 206 <ClInclude Include="..\Objects\unicodetype_db.h" /> 207 <ClInclude Include="..\Parser\parser.h" /> 208 <ClInclude Include="..\Parser\tokenizer.h" /> 209 <ClInclude Include="..\PC\errmap.h" /> 210 <ClInclude Include="..\PC\pyconfig.h" /> 211 <ClInclude Include="..\Python\ceval_gil.h" /> 212 <ClInclude Include="..\Python\condvar.h" /> 213 <ClInclude Include="..\Python\importdl.h" /> 214 <ClInclude Include="..\Python\thread_nt.h" /> 215 <ClInclude Include="..\Python\wordcode_helpers.h" /> 216 </ItemGroup> 217 <ItemGroup Condition="$(IncludeExternals)"> 218 <ClInclude Include="$(zlibDir)\crc32.h" /> 219 <ClInclude Include="$(zlibDir)\deflate.h" /> 220 <ClInclude Include="$(zlibDir)\inffast.h" /> 221 <ClInclude Include="$(zlibDir)\inffixed.h" /> 222 <ClInclude Include="$(zlibDir)\inflate.h" /> 223 <ClInclude Include="$(zlibDir)\inftrees.h" /> 224 <ClInclude Include="$(zlibDir)\trees.h" /> 225 <ClInclude Include="$(zlibDir)\zconf.h" /> 226 <ClInclude Include="$(zlibDir)\zconf.in.h" /> 227 <ClInclude Include="$(zlibDir)\zlib.h" /> 228 <ClInclude Include="$(zlibDir)\zutil.h" /> 229 </ItemGroup> 230 <ItemGroup> 231 <ClCompile Include="..\Modules\_abc.c" /> 232 <ClCompile Include="..\Modules\_bisectmodule.c" /> 233 <ClCompile Include="..\Modules\_blake2\blake2module.c" /> 234 <ClCompile Include="..\Modules\_blake2\blake2b_impl.c" /> 235 <ClCompile Include="..\Modules\_blake2\blake2s_impl.c" /> 236 <ClCompile Include="..\Modules\_codecsmodule.c" /> 237 <ClCompile Include="..\Modules\_collectionsmodule.c" /> 238 <ClCompile Include="..\Modules\_contextvarsmodule.c" /> 239 <ClCompile Include="..\Modules\_csv.c" /> 240 <ClCompile Include="..\Modules\_functoolsmodule.c" /> 241 <ClCompile Include="..\Modules\_heapqmodule.c" /> 242 <ClCompile Include="..\Modules\_json.c" /> 243 <ClCompile Include="..\Modules\_localemodule.c" /> 244 <ClCompile Include="..\Modules\_lsprof.c" /> 245 <ClCompile Include="..\Modules\_math.c" /> 246 <ClCompile Include="..\Modules\_pickle.c" /> 247 <ClCompile Include="..\Modules\_randommodule.c" /> 248 <ClCompile Include="..\Modules\_sha3\sha3module.c" /> 249 <ClCompile Include="..\Modules\_sre.c" /> 250 <ClCompile Include="..\Modules\_stat.c" /> 251 <ClCompile Include="..\Modules\_struct.c" /> 252 <ClCompile Include="..\Modules\_weakref.c" /> 253 <ClCompile Include="..\Modules\arraymodule.c" /> 254 <ClCompile Include="..\Modules\atexitmodule.c" /> 255 <ClCompile Include="..\Modules\audioop.c" /> 256 <ClCompile Include="..\Modules\binascii.c" /> 257 <ClCompile Include="..\Modules\cmathmodule.c" /> 258 <ClCompile Include="..\Modules\_datetimemodule.c" /> 259 <ClCompile Include="..\Modules\errnomodule.c" /> 260 <ClCompile Include="..\Modules\faulthandler.c" /> 261 <ClCompile Include="..\Modules\gcmodule.c" /> 262 <ClCompile Include="..\Modules\hashtable.c" /> 263 <ClCompile Include="..\Modules\itertoolsmodule.c" /> 264 <ClCompile Include="..\Modules\main.c" /> 265 <ClCompile Include="..\Modules\mathmodule.c" /> 266 <ClCompile Include="..\Modules\md5module.c" /> 267 <ClCompile Include="..\Modules\mmapmodule.c" /> 268 <ClCompile Include="..\Modules\_opcode.c" /> 269 <ClCompile Include="..\Modules\_operator.c" /> 270 <ClCompile Include="..\Modules\parsermodule.c" /> 271 <ClCompile Include="..\Modules\posixmodule.c" /> 272 <ClCompile Include="..\Modules\rotatingtree.c" /> 273 <ClCompile Include="..\Modules\sha1module.c" /> 274 <ClCompile Include="..\Modules\sha256module.c" /> 275 <ClCompile Include="..\Modules\sha512module.c" /> 276 <ClCompile Include="..\Modules\signalmodule.c" /> 277 <ClCompile Include="..\Modules\symtablemodule.c" /> 278 <ClCompile Include="..\Modules\_threadmodule.c" /> 279 <ClCompile Include="..\Modules\_tracemalloc.c" /> 280 <ClCompile Include="..\Modules\timemodule.c" /> 281 <ClCompile Include="..\Modules\xxsubtype.c" /> 282 <ClCompile Include="..\Modules\zipimport.c" /> 283 <ClCompile Include="..\Modules\_io\fileio.c" /> 284 <ClCompile Include="..\Modules\_io\bytesio.c" /> 285 <ClCompile Include="..\Modules\_io\stringio.c" /> 286 <ClCompile Include="..\Modules\_io\bufferedio.c" /> 287 <ClCompile Include="..\Modules\_io\iobase.c" /> 288 <ClCompile Include="..\Modules\_io\textio.c" /> 289 <ClCompile Include="..\Modules\_io\winconsoleio.c" /> 290 <ClCompile Include="..\Modules\_io\_iomodule.c" /> 291 <ClCompile Include="..\Modules\cjkcodecs\_codecs_cn.c" /> 292 <ClCompile Include="..\Modules\cjkcodecs\_codecs_hk.c" /> 293 <ClCompile Include="..\Modules\cjkcodecs\_codecs_iso2022.c" /> 294 <ClCompile Include="..\Modules\cjkcodecs\_codecs_jp.c" /> 295 <ClCompile Include="..\Modules\cjkcodecs\_codecs_kr.c" /> 296 <ClCompile Include="..\Modules\cjkcodecs\_codecs_tw.c" /> 297 <ClCompile Include="..\Modules\cjkcodecs\multibytecodec.c" /> 298 <ClCompile Include="..\Modules\_winapi.c" /> 299 <ClCompile Include="..\Objects\abstract.c" /> 300 <ClCompile Include="..\Objects\accu.c" /> 301 <ClCompile Include="..\Objects\boolobject.c" /> 302 <ClCompile Include="..\Objects\bytearrayobject.c" /> 303 <ClCompile Include="..\Objects\bytes_methods.c" /> 304 <ClCompile Include="..\Objects\bytesobject.c" /> 305 <ClCompile Include="..\Objects\call.c" /> 306 <ClCompile Include="..\Objects\capsule.c" /> 307 <ClCompile Include="..\Objects\cellobject.c" /> 308 <ClCompile Include="..\Objects\classobject.c" /> 309 <ClCompile Include="..\Objects\codeobject.c" /> 310 <ClCompile Include="..\Objects\complexobject.c" /> 311 <ClCompile Include="..\Objects\descrobject.c" /> 312 <ClCompile Include="..\Objects\dictobject.c" /> 313 <ClCompile Include="..\Objects\enumobject.c" /> 314 <ClCompile Include="..\Objects\exceptions.c" /> 315 <ClCompile Include="..\Objects\fileobject.c" /> 316 <ClCompile Include="..\Objects\floatobject.c" /> 317 <ClCompile Include="..\Objects\frameobject.c" /> 318 <ClCompile Include="..\Objects\funcobject.c" /> 319 <ClCompile Include="..\Objects\genobject.c" /> 320 <ClCompile Include="..\Objects\iterobject.c" /> 321 <ClCompile Include="..\Objects\listobject.c" /> 322 <ClCompile Include="..\Objects\longobject.c" /> 323 <ClCompile Include="..\Objects\memoryobject.c" /> 324 <ClCompile Include="..\Objects\methodobject.c" /> 325 <ClCompile Include="..\Objects\moduleobject.c" /> 326 <ClCompile Include="..\Objects\namespaceobject.c" /> 327 <ClCompile Include="..\Objects\object.c" /> 328 <ClCompile Include="..\Objects\obmalloc.c" /> 329 <ClCompile Include="..\Objects\odictobject.c" /> 330 <ClCompile Include="..\Objects\rangeobject.c" /> 331 <ClCompile Include="..\Objects\setobject.c" /> 332 <ClCompile Include="..\Objects\sliceobject.c" /> 333 <ClCompile Include="..\Objects\structseq.c" /> 334 <ClCompile Include="..\Objects\tupleobject.c" /> 335 <ClCompile Include="..\Objects\typeobject.c" /> 336 <ClCompile Include="..\Objects\unicodectype.c" /> 337 <ClCompile Include="..\Objects\unicodeobject.c" /> 338 <ClCompile Include="..\Objects\weakrefobject.c" /> 339 <ClCompile Include="..\Parser\acceler.c" /> 340 <ClCompile Include="..\Parser\bitset.c" /> 341 <ClCompile Include="..\Parser\firstsets.c" /> 342 <ClCompile Include="..\Parser\grammar.c" /> 343 <ClCompile Include="..\Parser\grammar1.c" /> 344 <ClCompile Include="..\Parser\listnode.c" /> 345 <ClCompile Include="..\Parser\metagrammar.c" /> 346 <ClCompile Include="..\Parser\myreadline.c" /> 347 <ClCompile Include="..\Parser\node.c" /> 348 <ClCompile Include="..\Parser\parser.c" /> 349 <ClCompile Include="..\Parser\parsetok.c" /> 350 <ClCompile Include="..\Parser\tokenizer.c" /> 351 <ClCompile Include="..\PC\invalid_parameter_handler.c" /> 352 <ClCompile Include="..\PC\winreg.c" /> 353 <ClCompile Include="..\PC\config.c" /> 354 <ClCompile Include="..\PC\getpathp.c" /> 355 <ClCompile Include="..\PC\msvcrtmodule.c" /> 356 <ClCompile Include="..\Python\pyhash.c" /> 357 <ClCompile Include="..\Python\_warnings.c" /> 358 <ClCompile Include="..\Python\asdl.c" /> 359 <ClCompile Include="..\Python\ast.c" /> 360 <ClCompile Include="..\Python\ast_opt.c" /> 361 <ClCompile Include="..\Python\ast_unparse.c" /> 362 <ClCompile Include="..\Python\bltinmodule.c" /> 363 <ClCompile Include="..\Python\bootstrap_hash.c" /> 364 <ClCompile Include="..\Python\ceval.c" /> 365 <ClCompile Include="..\Python\codecs.c" /> 366 <ClCompile Include="..\Python\compile.c" /> 367 <ClCompile Include="..\Python\context.c" /> 368 <ClCompile Include="..\Python\dynamic_annotations.c" /> 369 <ClCompile Include="..\Python\dynload_win.c" /> 370 <ClCompile Include="..\Python\errors.c" /> 371 <ClCompile Include="..\Python\fileutils.c" /> 372 <ClCompile Include="..\Python\formatter_unicode.c" /> 373 <ClCompile Include="..\Python\frozen.c" /> 374 <ClCompile Include="..\Python\future.c" /> 375 <ClCompile Include="..\Python\getargs.c" /> 376 <ClCompile Include="..\Python\getcompiler.c" /> 377 <ClCompile Include="..\Python\getcopyright.c" /> 378 <ClCompile Include="..\Python\getopt.c" /> 379 <ClCompile Include="..\Python\getplatform.c" /> 380 <ClCompile Include="..\Python\getversion.c" /> 381 <ClCompile Include="..\Python\graminit.c" /> 382 <ClCompile Include="..\Python\hamt.c" /> 383 <ClCompile Include="..\Python\import.c" /> 384 <ClCompile Include="..\Python\importdl.c" /> 385 <ClCompile Include="..\Python\marshal.c" /> 386 <ClCompile Include="..\Python\modsupport.c" /> 387 <ClCompile Include="..\Python\mysnprintf.c" /> 388 <ClCompile Include="..\Python\mystrtoul.c" /> 389 <ClCompile Include="..\Python\pathconfig.c" /> 390 <ClCompile Include="..\Python\peephole.c" /> 391 <ClCompile Include="..\Python\pyarena.c" /> 392 <ClCompile Include="..\Python\pyctype.c" /> 393 <ClCompile Include="..\Python\pyfpe.c" /> 394 <ClCompile Include="..\Python\pylifecycle.c" /> 395 <ClCompile Include="..\Python\pymath.c" /> 396 <ClCompile Include="..\Python\pytime.c" /> 397 <ClCompile Include="..\Python\pystate.c" /> 398 <ClCompile Include="..\Python\pystrcmp.c" /> 399 <ClCompile Include="..\Python\pystrhex.c" /> 400 <ClCompile Include="..\Python\pystrtod.c" /> 401 <ClCompile Include="..\Python\dtoa.c" /> 402 <ClCompile Include="..\Python\Python-ast.c" /> 403 <ClCompile Include="..\Python\pythonrun.c" /> 404 <ClCompile Include="..\Python\structmember.c" /> 405 <ClCompile Include="..\Python\symtable.c" /> 406 <ClCompile Include="..\Python\sysmodule.c" /> 407 <ClCompile Include="..\Python\thread.c" /> 408 <ClCompile Include="..\Python\traceback.c" /> 409 </ItemGroup> 410 <ItemGroup Condition="$(IncludeExternals)"> 411 <ClCompile Include="..\Modules\zlibmodule.c" /> 412 <ClCompile Include="$(zlibDir)\adler32.c" /> 413 <ClCompile Include="$(zlibDir)\compress.c" /> 414 <ClCompile Include="$(zlibDir)\crc32.c" /> 415 <ClCompile Include="$(zlibDir)\deflate.c" /> 416 <ClCompile Include="$(zlibDir)\infback.c" /> 417 <ClCompile Include="$(zlibDir)\inffast.c" /> 418 <ClCompile Include="$(zlibDir)\inflate.c" /> 419 <ClCompile Include="$(zlibDir)\inftrees.c" /> 420 <ClCompile Include="$(zlibDir)\trees.c" /> 421 <ClCompile Include="$(zlibDir)\uncompr.c" /> 422 <ClCompile Include="$(zlibDir)\zutil.c" /> 423 </ItemGroup> 424 <ItemGroup> 425 <ClCompile Include="..\PC\dl_nt.c" /> 426 </ItemGroup> 427 <ItemGroup> 428 <ResourceCompile Include="..\PC\python_nt.rc" /> 429 </ItemGroup> 430 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> 431 <ImportGroup Label="ExtensionTargets"> 432 </ImportGroup> 433 <Target Name="_GetBuildInfo" BeforeTargets="PrepareForBuild"> 434 <PropertyGroup> 435 <GIT Condition="$(GIT) == ''">git</GIT> 436 <_GIT>$(GIT)</_GIT> 437 <_GIT Condition="$(GIT.Contains(` `))">"$(GIT)"</_GIT> 438 </PropertyGroup> 439 <Message Text="Getting build info from $(_GIT)" Importance="high" /> 440 <MakeDir Directories="$(IntDir)" Condition="!Exists($(IntDir))" /> 441 <Exec Command="$(_GIT) name-rev --name-only HEAD > "$(IntDir)gitbranch.txt"" ContinueOnError="true" /> 442 <Exec Command="$(_GIT) rev-parse --short HEAD > "$(IntDir)gitversion.txt"" ContinueOnError="true" /> 443 <Exec Command="$(_GIT) describe --all --always --dirty > "$(IntDir)gittag.txt"" ContinueOnError="true" /> 444 <PropertyGroup> 445 <GitBranch Condition="Exists('$(IntDir)gitbranch.txt')">$([System.IO.File]::ReadAllText('$(IntDir)gitbranch.txt').Trim())</GitBranch> 446 <GitVersion Condition="Exists('$(IntDir)gitversion.txt')">$([System.IO.File]::ReadAllText('$(IntDir)gitversion.txt').Trim())</GitVersion> 447 <GitTag Condition="Exists('$(IntDir)gittag.txt')">$([System.IO.File]::ReadAllText('$(IntDir)gittag.txt').Trim())</GitTag> 448 </PropertyGroup> 449 <Message Text="Building $(GitTag):$(GitVersion) $(GitBranch)" Importance="high" /> 450 <ItemGroup> 451 <ClCompile Include="..\Modules\getbuildinfo.c"> 452 <PreprocessorDefinitions>GITVERSION="$(GitVersion)";GITTAG="$(GitTag)";GITBRANCH="$(GitBranch)";%(PreprocessorDefinitions)</PreprocessorDefinitions> 453 </ClCompile> 454 </ItemGroup> 455 </Target> 456 <Target Name="_WarnAboutToolset" BeforeTargets="PrepareForBuild" Condition="$(PlatformToolset) != 'v140' and $(PlatformToolset) != 'v141'"> 457 <Warning Text="Toolset $(PlatformToolset) is not used for official builds. Your build may have errors or incompatibilities." /> 458 </Target> 459 <Target Name="_WarnAboutZlib" BeforeTargets="PrepareForBuild" Condition="!$(IncludeExternals)"> 460 <Warning Text="Not including zlib is not a supported configuration." /> 461 </Target> 462 463 <PropertyGroup> 464 <VCRedistDir>$(VCInstallDir)\Redist\MSVC\$(VCToolsRedistVersion)\</VCRedistDir> 465 <VCRedistDir Condition="$(Platform) == 'Win32'">$(VCRedistDir)x86\</VCRedistDir> 466 <VCRedistDir Condition="$(Platform) != 'Win32'">$(VCRedistDir)$(Platform)\</VCRedistDir> 467 </PropertyGroup> 468 <ItemGroup Condition="$(VCInstallDir) != ''"> 469 <VCRuntimeDLL Include="$(VCRedistDir)\**\vcruntime*.dll" /> 470 </ItemGroup> 471 <Target Name="_CopyVCRuntime" AfterTargets="Build" Inputs="@(VCRuntimeDLL)" Outputs="$(OutDir)%(Filename)%(Extension)"> 472 <Copy SourceFiles="%(VCRuntimeDLL.FullPath)" DestinationFolder="$(OutDir)" /> 473 </Target> 474 <Target Name="_CleanVCRuntime" AfterTargets="Clean"> 475 <Delete Files="@(VCRuntimeDLL->'$(OutDir)%(Filename)%(Extension)')" /> 476 </Target> 477 </Project> 478