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|ARM"> 5 <Configuration>Debug</Configuration> 6 <Platform>ARM</Platform> 7 </ProjectConfiguration> 8 <ProjectConfiguration Include="Debug|ARM64"> 9 <Configuration>Debug</Configuration> 10 <Platform>ARM64</Platform> 11 </ProjectConfiguration> 12 <ProjectConfiguration Include="Debug|Win32"> 13 <Configuration>Debug</Configuration> 14 <Platform>Win32</Platform> 15 </ProjectConfiguration> 16 <ProjectConfiguration Include="Debug|x64"> 17 <Configuration>Debug</Configuration> 18 <Platform>x64</Platform> 19 </ProjectConfiguration> 20 <ProjectConfiguration Include="PGInstrument|ARM"> 21 <Configuration>PGInstrument</Configuration> 22 <Platform>ARM</Platform> 23 </ProjectConfiguration> 24 <ProjectConfiguration Include="PGInstrument|ARM64"> 25 <Configuration>PGInstrument</Configuration> 26 <Platform>ARM64</Platform> 27 </ProjectConfiguration> 28 <ProjectConfiguration Include="PGInstrument|Win32"> 29 <Configuration>PGInstrument</Configuration> 30 <Platform>Win32</Platform> 31 </ProjectConfiguration> 32 <ProjectConfiguration Include="PGInstrument|x64"> 33 <Configuration>PGInstrument</Configuration> 34 <Platform>x64</Platform> 35 </ProjectConfiguration> 36 <ProjectConfiguration Include="PGUpdate|ARM"> 37 <Configuration>PGUpdate</Configuration> 38 <Platform>ARM</Platform> 39 </ProjectConfiguration> 40 <ProjectConfiguration Include="PGUpdate|ARM64"> 41 <Configuration>PGUpdate</Configuration> 42 <Platform>ARM64</Platform> 43 </ProjectConfiguration> 44 <ProjectConfiguration Include="PGUpdate|Win32"> 45 <Configuration>PGUpdate</Configuration> 46 <Platform>Win32</Platform> 47 </ProjectConfiguration> 48 <ProjectConfiguration Include="PGUpdate|x64"> 49 <Configuration>PGUpdate</Configuration> 50 <Platform>x64</Platform> 51 </ProjectConfiguration> 52 <ProjectConfiguration Include="Release|ARM"> 53 <Configuration>Release</Configuration> 54 <Platform>ARM</Platform> 55 </ProjectConfiguration> 56 <ProjectConfiguration Include="Release|ARM64"> 57 <Configuration>Release</Configuration> 58 <Platform>ARM64</Platform> 59 </ProjectConfiguration> 60 <ProjectConfiguration Include="Release|Win32"> 61 <Configuration>Release</Configuration> 62 <Platform>Win32</Platform> 63 </ProjectConfiguration> 64 <ProjectConfiguration Include="Release|x64"> 65 <Configuration>Release</Configuration> 66 <Platform>x64</Platform> 67 </ProjectConfiguration> 68 </ItemGroup> 69 <PropertyGroup Label="Globals"> 70 <ProjectGuid>{19C0C13F-47CA-4432-AFF3-799A296A4DDC}</ProjectGuid> 71 <Keyword>Win32Proj</Keyword> 72 <RootNamespace>_freeze_module</RootNamespace> 73 <SupportPGO>false</SupportPGO> 74 </PropertyGroup> 75 <Import Project="python.props" /> 76 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> 77 <PropertyGroup Label="Configuration"> 78 <ConfigurationType>Application</ConfigurationType> 79 <CharacterSet>Unicode</CharacterSet> 80 </PropertyGroup> 81 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 82 <ImportGroup Label="ExtensionSettings"> 83 </ImportGroup> 84 <ImportGroup Label="PropertySheets"> 85 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 86 <Import Project="pyproject.props" /> 87 </ImportGroup> 88 <PropertyGroup Label="UserMacros" /> 89 <ItemDefinitionGroup> 90 <ClCompile> 91 <PreprocessorDefinitions>Py_NO_ENABLE_SHARED;Py_BUILD_CORE;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> 92 <AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 93 <Optimization>Disabled</Optimization> 94 <WholeProgramOptimization>false</WholeProgramOptimization> 95 </ClCompile> 96 <Link> 97 <SubSystem>Console</SubSystem> 98 <AdditionalDependencies>version.lib;ws2_32.lib;pathcch.lib;bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies> 99 <LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration> 100 </Link> 101 </ItemDefinitionGroup> 102 <ItemGroup> 103 <ClCompile Include="..\Programs\_freeze_module.c" /> 104 <ClCompile Include="..\PC\config_minimal.c" /> 105 </ItemGroup> 106 <ItemGroup> 107 <ClCompile Include="..\Modules\atexitmodule.c" /> 108 <ClCompile Include="..\Modules\faulthandler.c" /> 109 <ClCompile Include="..\Modules\gcmodule.c" /> 110 <ClCompile Include="..\Modules\getbuildinfo.c" /> 111 <ClCompile Include="..\Modules\getpath_noop.c" /> 112 <ClCompile Include="..\Modules\posixmodule.c" /> 113 <ClCompile Include="..\Modules\signalmodule.c" /> 114 <ClCompile Include="..\Modules\timemodule.c" /> 115 <ClCompile Include="..\Modules\_tracemalloc.c" /> 116 <ClCompile Include="..\Modules\_io\_iomodule.c" /> 117 <ClCompile Include="..\Modules\_io\bufferedio.c" /> 118 <ClCompile Include="..\Modules\_io\bytesio.c" /> 119 <ClCompile Include="..\Modules\_io\fileio.c" /> 120 <ClCompile Include="..\Modules\_io\iobase.c" /> 121 <ClCompile Include="..\Modules\_io\stringio.c" /> 122 <ClCompile Include="..\Modules\_io\textio.c" /> 123 <ClCompile Include="..\Modules\_io\winconsoleio.c" /> 124 <ClCompile Include="..\Objects\abstract.c" /> 125 <ClCompile Include="..\Objects\boolobject.c" /> 126 <ClCompile Include="..\Objects\bytearrayobject.c" /> 127 <ClCompile Include="..\Objects\bytes_methods.c" /> 128 <ClCompile Include="..\Objects\bytesobject.c" /> 129 <ClCompile Include="..\Objects\call.c" /> 130 <ClCompile Include="..\Objects\capsule.c" /> 131 <ClCompile Include="..\Objects\cellobject.c" /> 132 <ClCompile Include="..\Objects\classobject.c" /> 133 <ClCompile Include="..\Objects\codeobject.c" /> 134 <ClCompile Include="..\Objects\complexobject.c" /> 135 <ClCompile Include="..\Objects\descrobject.c" /> 136 <ClCompile Include="..\Objects\dictobject.c" /> 137 <ClCompile Include="..\Objects\enumobject.c" /> 138 <ClCompile Include="..\Objects\exceptions.c" /> 139 <ClCompile Include="..\Objects\fileobject.c" /> 140 <ClCompile Include="..\Objects\floatobject.c" /> 141 <ClCompile Include="..\Objects\frameobject.c" /> 142 <ClCompile Include="..\Objects\funcobject.c" /> 143 <ClCompile Include="..\Objects\genericaliasobject.c" /> 144 <ClCompile Include="..\Objects\genobject.c" /> 145 <ClCompile Include="..\Objects\iterobject.c" /> 146 <ClCompile Include="..\Objects\listobject.c" /> 147 <ClCompile Include="..\Objects\longobject.c" /> 148 <ClCompile Include="..\Objects\memoryobject.c" /> 149 <ClCompile Include="..\Objects\methodobject.c" /> 150 <ClCompile Include="..\Objects\moduleobject.c" /> 151 <ClCompile Include="..\Objects\namespaceobject.c" /> 152 <ClCompile Include="..\Objects\object.c" /> 153 <ClCompile Include="..\Objects\obmalloc.c" /> 154 <ClCompile Include="..\Objects\odictobject.c" /> 155 <ClCompile Include="..\Objects\picklebufobject.c" /> 156 <ClCompile Include="..\Objects\rangeobject.c" /> 157 <ClCompile Include="..\Objects\setobject.c" /> 158 <ClCompile Include="..\Objects\sliceobject.c" /> 159 <ClCompile Include="..\Objects\structseq.c" /> 160 <ClCompile Include="..\Objects\tupleobject.c" /> 161 <ClCompile Include="..\Objects\typeobject.c" /> 162 <ClCompile Include="..\Objects\typevarobject.c" /> 163 <ClCompile Include="..\Objects\unicodectype.c" /> 164 <ClCompile Include="..\Objects\unicodeobject.c" /> 165 <ClCompile Include="..\Objects\unionobject.c" /> 166 <ClCompile Include="..\Objects\weakrefobject.c" /> 167 <ClCompile Include="..\Parser\myreadline.c" /> 168 <ClCompile Include="..\Parser\parser.c" /> 169 <ClCompile Include="..\Parser\peg_api.c" /> 170 <ClCompile Include="..\Parser\pegen.c" /> 171 <ClCompile Include="..\Parser\pegen_errors.c" /> 172 <ClCompile Include="..\Parser\action_helpers.c" /> 173 <ClCompile Include="..\Parser\string_parser.c" /> 174 <ClCompile Include="..\Parser\token.c" /> 175 <ClCompile Include="..\Parser\lexer\buffer.c" /> 176 <ClCompile Include="..\Parser\lexer\state.c" /> 177 <ClCompile Include="..\Parser\lexer\lexer.c" /> 178 <ClCompile Include="..\Parser\tokenizer\string_tokenizer.c" /> 179 <ClCompile Include="..\Parser\tokenizer\file_tokenizer.c" /> 180 <ClCompile Include="..\Parser\tokenizer\utf8_tokenizer.c" /> 181 <ClCompile Include="..\Parser\tokenizer\readline_tokenizer.c" /> 182 <ClCompile Include="..\Parser\tokenizer\helpers.c" /> 183 <ClCompile Include="..\PC\invalid_parameter_handler.c" /> 184 <ClCompile Include="..\PC\msvcrtmodule.c" /> 185 <ClCompile Include="..\PC\winreg.c" /> 186 <ClCompile Include="..\Python\_warnings.c" /> 187 <ClCompile Include="..\Python\asdl.c" /> 188 <ClCompile Include="..\Python\assemble.c" /> 189 <ClCompile Include="..\Python\ast.c" /> 190 <ClCompile Include="..\Python\ast_opt.c" /> 191 <ClCompile Include="..\Python\ast_unparse.c" /> 192 <ClCompile Include="..\Python\bltinmodule.c" /> 193 <ClCompile Include="..\Python\brc.c" /> 194 <ClCompile Include="..\Python\bootstrap_hash.c" /> 195 <ClCompile Include="..\Python\ceval.c" /> 196 <ClCompile Include="..\Python\codecs.c" /> 197 <ClCompile Include="..\Python\compile.c" /> 198 <ClCompile Include="..\Python\context.c" /> 199 <ClCompile Include="..\Python\critical_section.c" /> 200 <ClCompile Include="..\Python\crossinterp.c" /> 201 <ClCompile Include="..\Python\dtoa.c" /> 202 <ClCompile Include="..\Python\dynamic_annotations.c" /> 203 <ClCompile Include="..\Python\dynload_win.c" /> 204 <ClCompile Include="..\Python\errors.c" /> 205 <ClCompile Include="..\Python\fileutils.c" /> 206 <ClCompile Include="..\Python\flowgraph.c" /> 207 <ClCompile Include="..\Python\formatter_unicode.c" /> 208 <ClCompile Include="..\Python\frame.c" /> 209 <ClCompile Include="..\Python\future.c" /> 210 <ClCompile Include="..\Python\gc.c" /> 211 <ClCompile Include="..\Python\gc_gil.c" /> 212 <ClCompile Include="..\Python\gc_free_threading.c" /> 213 <ClCompile Include="..\Python\getargs.c" /> 214 <ClCompile Include="..\Python\getcompiler.c" /> 215 <ClCompile Include="..\Python\getcopyright.c" /> 216 <ClCompile Include="..\Python\getopt.c" /> 217 <ClCompile Include="..\Python\getplatform.c" /> 218 <ClCompile Include="..\Python\getversion.c" /> 219 <ClCompile Include="..\Python\ceval_gil.c" /> 220 <ClCompile Include="..\Python\hamt.c" /> 221 <ClCompile Include="..\Python\hashtable.c" /> 222 <ClCompile Include="..\Python\import.c" /> 223 <ClCompile Include="..\Python\importdl.c" /> 224 <ClCompile Include="..\Python\initconfig.c" /> 225 <ClCompile Include="..\Python\instruction_sequence.c" /> 226 <ClCompile Include="..\Python\interpconfig.c" /> 227 <ClCompile Include="..\Python\intrinsics.c" /> 228 <ClCompile Include="..\Python\instrumentation.c" /> 229 <ClCompile Include="..\Python\jit.c" /> 230 <ClCompile Include="..\Python\legacy_tracing.c" /> 231 <ClCompile Include="..\Python\lock.c" /> 232 <ClCompile Include="..\Python\marshal.c" /> 233 <ClCompile Include="..\Python\modsupport.c" /> 234 <ClCompile Include="..\Python\mysnprintf.c" /> 235 <ClCompile Include="..\Python\mystrtoul.c" /> 236 <ClCompile Include="..\Python\object_stack.c" /> 237 <ClCompile Include="..\Python\optimizer.c" /> 238 <ClCompile Include="..\Python\optimizer_analysis.c" /> 239 <ClCompile Include="..\Python\optimizer_symbols.c" /> 240 <ClCompile Include="..\Python\parking_lot.c" /> 241 <ClCompile Include="..\Python\pathconfig.c" /> 242 <ClCompile Include="..\Python\perf_trampoline.c" /> 243 <ClCompile Include="..\Python\perf_jit_trampoline.c" /> 244 <ClCompile Include="..\Python\preconfig.c" /> 245 <ClCompile Include="..\Python\pyarena.c" /> 246 <ClCompile Include="..\Python\pyctype.c" /> 247 <ClCompile Include="..\Python\pyfpe.c" /> 248 <ClCompile Include="..\Python\pyhash.c" /> 249 <ClCompile Include="..\Python\pylifecycle.c" /> 250 <ClCompile Include="..\Python\pymath.c" /> 251 <ClCompile Include="..\Python\pystate.c" /> 252 <ClCompile Include="..\Python\pystrcmp.c" /> 253 <ClCompile Include="..\Python\pystrhex.c" /> 254 <ClCompile Include="..\Python\pystrtod.c" /> 255 <ClCompile Include="..\Python\Python-ast.c" /> 256 <ClCompile Include="..\Python\pythonrun.c" /> 257 <ClCompile Include="..\Python\Python-tokenize.c" /> 258 <ClCompile Include="..\Python\pytime.c" /> 259 <ClCompile Include="..\Python\qsbr.c" /> 260 <ClCompile Include="..\Python\specialize.c" /> 261 <ClCompile Include="..\Python\structmember.c" /> 262 <ClCompile Include="..\Python\suggestions.c" /> 263 <ClCompile Include="..\Python\symtable.c" /> 264 <ClCompile Include="..\Python\sysmodule.c"> 265 <PreprocessorDefinitions>VPATH="$(PyVPath)";%(PreprocessorDefinitions)</PreprocessorDefinitions> 266 </ClCompile> 267 <ClCompile Include="..\Python\thread.c" /> 268 <ClCompile Include="..\Python\traceback.c" /> 269 <ClCompile Include="..\Python\tracemalloc.c" /> 270 </ItemGroup> 271 <ItemGroup> 272 <ClInclude Include="..\PC\pyconfig.h.in" /> 273 </ItemGroup> 274 <ItemGroup> 275 <!-- BEGIN frozen modules --> 276 <None Include="..\Lib\importlib\_bootstrap.py"> 277 <ModName>importlib._bootstrap</ModName> 278 <IntFile>$(IntDir)importlib._bootstrap.g.h</IntFile> 279 <OutFile>$(GeneratedFrozenModulesDir)Python\frozen_modules\importlib._bootstrap.h</OutFile> 280 </None> 281 <None Include="..\Lib\importlib\_bootstrap_external.py"> 282 <ModName>importlib._bootstrap_external</ModName> 283 <IntFile>$(IntDir)importlib._bootstrap_external.g.h</IntFile> 284 <OutFile>$(GeneratedFrozenModulesDir)Python\frozen_modules\importlib._bootstrap_external.h</OutFile> 285 </None> 286 <None Include="..\Lib\zipimport.py"> 287 <ModName>zipimport</ModName> 288 <IntFile>$(IntDir)zipimport.g.h</IntFile> 289 <OutFile>$(GeneratedFrozenModulesDir)Python\frozen_modules\zipimport.h</OutFile> 290 </None> 291 <None Include="..\Lib\abc.py"> 292 <ModName>abc</ModName> 293 <IntFile>$(IntDir)abc.g.h</IntFile> 294 <OutFile>$(GeneratedFrozenModulesDir)Python\frozen_modules\abc.h</OutFile> 295 </None> 296 <None Include="..\Lib\codecs.py"> 297 <ModName>codecs</ModName> 298 <IntFile>$(IntDir)codecs.g.h</IntFile> 299 <OutFile>$(GeneratedFrozenModulesDir)Python\frozen_modules\codecs.h</OutFile> 300 </None> 301 <None Include="..\Lib\io.py"> 302 <ModName>io</ModName> 303 <IntFile>$(IntDir)io.g.h</IntFile> 304 <OutFile>$(GeneratedFrozenModulesDir)Python\frozen_modules\io.h</OutFile> 305 </None> 306 <None Include="..\Lib\_collections_abc.py"> 307 <ModName>_collections_abc</ModName> 308 <IntFile>$(IntDir)_collections_abc.g.h</IntFile> 309 <OutFile>$(GeneratedFrozenModulesDir)Python\frozen_modules\_collections_abc.h</OutFile> 310 </None> 311 <None Include="..\Lib\_sitebuiltins.py"> 312 <ModName>_sitebuiltins</ModName> 313 <IntFile>$(IntDir)_sitebuiltins.g.h</IntFile> 314 <OutFile>$(GeneratedFrozenModulesDir)Python\frozen_modules\_sitebuiltins.h</OutFile> 315 </None> 316 <None Include="..\Lib\genericpath.py"> 317 <ModName>genericpath</ModName> 318 <IntFile>$(IntDir)genericpath.g.h</IntFile> 319 <OutFile>$(GeneratedFrozenModulesDir)Python\frozen_modules\genericpath.h</OutFile> 320 </None> 321 <None Include="..\Lib\ntpath.py"> 322 <ModName>ntpath</ModName> 323 <IntFile>$(IntDir)ntpath.g.h</IntFile> 324 <OutFile>$(GeneratedFrozenModulesDir)Python\frozen_modules\ntpath.h</OutFile> 325 </None> 326 <None Include="..\Lib\posixpath.py"> 327 <ModName>posixpath</ModName> 328 <IntFile>$(IntDir)posixpath.g.h</IntFile> 329 <OutFile>$(GeneratedFrozenModulesDir)Python\frozen_modules\posixpath.h</OutFile> 330 </None> 331 <None Include="..\Lib\os.py"> 332 <ModName>os</ModName> 333 <IntFile>$(IntDir)os.g.h</IntFile> 334 <OutFile>$(GeneratedFrozenModulesDir)Python\frozen_modules\os.h</OutFile> 335 </None> 336 <None Include="..\Lib\site.py"> 337 <ModName>site</ModName> 338 <IntFile>$(IntDir)site.g.h</IntFile> 339 <OutFile>$(GeneratedFrozenModulesDir)Python\frozen_modules\site.h</OutFile> 340 </None> 341 <None Include="..\Lib\stat.py"> 342 <ModName>stat</ModName> 343 <IntFile>$(IntDir)stat.g.h</IntFile> 344 <OutFile>$(GeneratedFrozenModulesDir)Python\frozen_modules\stat.h</OutFile> 345 </None> 346 <None Include="..\Lib\importlib\util.py"> 347 <ModName>importlib.util</ModName> 348 <IntFile>$(IntDir)importlib.util.g.h</IntFile> 349 <OutFile>$(GeneratedFrozenModulesDir)Python\frozen_modules\importlib.util.h</OutFile> 350 </None> 351 <None Include="..\Lib\importlib\machinery.py"> 352 <ModName>importlib.machinery</ModName> 353 <IntFile>$(IntDir)importlib.machinery.g.h</IntFile> 354 <OutFile>$(GeneratedFrozenModulesDir)Python\frozen_modules\importlib.machinery.h</OutFile> 355 </None> 356 <None Include="..\Lib\runpy.py"> 357 <ModName>runpy</ModName> 358 <IntFile>$(IntDir)runpy.g.h</IntFile> 359 <OutFile>$(GeneratedFrozenModulesDir)Python\frozen_modules\runpy.h</OutFile> 360 </None> 361 <None Include="..\Lib\__hello__.py"> 362 <ModName>__hello__</ModName> 363 <IntFile>$(IntDir)__hello__.g.h</IntFile> 364 <OutFile>$(GeneratedFrozenModulesDir)Python\frozen_modules\__hello__.h</OutFile> 365 </None> 366 <None Include="..\Lib\__phello__\__init__.py"> 367 <ModName>__phello__</ModName> 368 <IntFile>$(IntDir)__phello__.g.h</IntFile> 369 <OutFile>$(GeneratedFrozenModulesDir)Python\frozen_modules\__phello__.h</OutFile> 370 </None> 371 <None Include="..\Lib\__phello__\ham\__init__.py"> 372 <ModName>__phello__.ham</ModName> 373 <IntFile>$(IntDir)__phello__.ham.g.h</IntFile> 374 <OutFile>$(GeneratedFrozenModulesDir)Python\frozen_modules\__phello__.ham.h</OutFile> 375 </None> 376 <None Include="..\Lib\__phello__\ham\eggs.py"> 377 <ModName>__phello__.ham.eggs</ModName> 378 <IntFile>$(IntDir)__phello__.ham.eggs.g.h</IntFile> 379 <OutFile>$(GeneratedFrozenModulesDir)Python\frozen_modules\__phello__.ham.eggs.h</OutFile> 380 </None> 381 <None Include="..\Lib\__phello__\spam.py"> 382 <ModName>__phello__.spam</ModName> 383 <IntFile>$(IntDir)__phello__.spam.g.h</IntFile> 384 <OutFile>$(GeneratedFrozenModulesDir)Python\frozen_modules\__phello__.spam.h</OutFile> 385 </None> 386 <None Include="..\Tools\freeze\flag.py"> 387 <ModName>frozen_only</ModName> 388 <IntFile>$(IntDir)frozen_only.g.h</IntFile> 389 <OutFile>$(GeneratedFrozenModulesDir)Python\frozen_modules\frozen_only.h</OutFile> 390 </None> 391 <!-- END frozen modules --> 392 </ItemGroup> 393 <ItemGroup> 394 <!-- We manually freeze getpath.py rather than through freeze_modules --> 395 <GetPath Include="..\Modules\getpath.py"> 396 <ModName>getpath</ModName> 397 <IntFile>$(IntDir)getpath.g.h</IntFile> 398 <OutFile>$(GeneratedFrozenModulesDir)Python\frozen_modules\getpath.h</OutFile> 399 </GetPath> 400 </ItemGroup> 401 <ItemGroup> 402 <!-- BEGIN freeze mappings --> 403 <FrozenModule Include="$(GeneratedFrozenModulesDir)Python\frozen_modules\importlib._bootstrap.h" FrozenId="importlib._bootstrap" /> 404 <FrozenModule Include="$(GeneratedFrozenModulesDir)Python\frozen_modules\importlib._bootstrap_external.h" FrozenId="importlib._bootstrap_external" /> 405 <FrozenModule Include="$(GeneratedFrozenModulesDir)Python\frozen_modules\zipimport.h" FrozenId="zipimport" /> 406 <FrozenModule Include="$(GeneratedFrozenModulesDir)Python\frozen_modules\abc.h" FrozenId="abc" /> 407 <FrozenModule Include="$(GeneratedFrozenModulesDir)Python\frozen_modules\codecs.h" FrozenId="codecs" /> 408 <FrozenModule Include="$(GeneratedFrozenModulesDir)Python\frozen_modules\io.h" FrozenId="io" /> 409 <FrozenModule Include="$(GeneratedFrozenModulesDir)Python\frozen_modules\_collections_abc.h" FrozenId="_collections_abc" /> 410 <FrozenModule Include="$(GeneratedFrozenModulesDir)Python\frozen_modules\_sitebuiltins.h" FrozenId="_sitebuiltins" /> 411 <FrozenModule Include="$(GeneratedFrozenModulesDir)Python\frozen_modules\genericpath.h" FrozenId="genericpath" /> 412 <FrozenModule Include="$(GeneratedFrozenModulesDir)Python\frozen_modules\ntpath.h" FrozenId="ntpath" /> 413 <FrozenModule Include="$(GeneratedFrozenModulesDir)Python\frozen_modules\posixpath.h" FrozenId="posixpath" /> 414 <FrozenModule Include="$(GeneratedFrozenModulesDir)Python\frozen_modules\os.h" FrozenId="os" /> 415 <FrozenModule Include="$(GeneratedFrozenModulesDir)Python\frozen_modules\site.h" FrozenId="site" /> 416 <FrozenModule Include="$(GeneratedFrozenModulesDir)Python\frozen_modules\stat.h" FrozenId="stat" /> 417 <FrozenModule Include="$(GeneratedFrozenModulesDir)Python\frozen_modules\importlib.util.h" FrozenId="importlib.util" /> 418 <FrozenModule Include="$(GeneratedFrozenModulesDir)Python\frozen_modules\importlib.machinery.h" FrozenId="importlib.machinery" /> 419 <FrozenModule Include="$(GeneratedFrozenModulesDir)Python\frozen_modules\runpy.h" FrozenId="runpy" /> 420 <FrozenModule Include="$(GeneratedFrozenModulesDir)Python\frozen_modules\__hello__.h" FrozenId="__hello__" /> 421 <FrozenModule Include="$(GeneratedFrozenModulesDir)Python\frozen_modules\__phello__.h" FrozenId="__phello__" /> 422 <FrozenModule Include="$(GeneratedFrozenModulesDir)Python\frozen_modules\__phello__.ham.h" FrozenId="__phello__.ham" /> 423 <FrozenModule Include="$(GeneratedFrozenModulesDir)Python\frozen_modules\__phello__.ham.eggs.h" FrozenId="__phello__.ham.eggs" /> 424 <FrozenModule Include="$(GeneratedFrozenModulesDir)Python\frozen_modules\__phello__.spam.h" FrozenId="__phello__.spam" /> 425 <FrozenModule Include="$(GeneratedFrozenModulesDir)Python\frozen_modules\frozen_only.h" FrozenId="frozen_only" /> 426 <!-- END freeze mappings --> 427 </ItemGroup> 428 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> 429 <ImportGroup Label="ExtensionTargets"> 430 </ImportGroup> 431 432 <!-- Direct copy from pythoncore.vcxproj, but this one is only used for our 433 own build. All other extension modules will use the copy that pythoncore 434 generates. --> 435 <Target Name="_UpdatePyconfig" BeforeTargets="PrepareForBuild"> 436 <MakeDir Directories="$(IntDir)" Condition="!Exists($(IntDir))" /> 437 <ItemGroup> 438 <PyConfigH Remove="@(PyConfigH)" /> 439 <PyConfigH Include="@(ClInclude)" Condition="'%(Filename)%(Extension)' == 'pyconfig.h.in'" /> 440 </ItemGroup> 441 <Error Text="Did not find pyconfig.h" Condition="@(ClInclude) == ''" /> 442 <PropertyGroup> 443 <PyConfigH>@(PyConfigH->'%(FullPath)', ';')</PyConfigH> 444 <PyConfigHText>$([System.IO.File]::ReadAllText($(PyConfigH)))</PyConfigHText> 445 <OldPyConfigH Condition="Exists('$(IntDir)pyconfig.h')">$([System.IO.File]::ReadAllText('$(IntDir)pyconfig.h'))</OldPyConfigH> 446 </PropertyGroup> 447 <PropertyGroup Condition="$(DisableGil) == 'true'"> 448 <PyConfigHText>$(PyConfigHText.Replace('#undef Py_GIL_DISABLED', '#define Py_GIL_DISABLED 1'))</PyConfigHText> 449 </PropertyGroup> 450 <Message Text="Updating pyconfig.h" Condition="$(PyConfigHText.TrimEnd()) != $(OldPyConfigH.TrimEnd())" /> 451 <WriteLinesToFile File="$(IntDir)pyconfig.h" 452 Lines="$(PyConfigHText)" 453 Overwrite="true" 454 Condition="$(PyConfigHText.TrimEnd()) != $(OldPyConfigH.TrimEnd())" /> 455 </Target> 456 457 <Target Name="_RebuildGetPath" AfterTargets="_RebuildFrozen" Condition="$(Configuration) != 'PGUpdate'"> 458 <Exec Command='"$(TargetPath)" "%(GetPath.ModName)" "%(GetPath.FullPath)" "%(GetPath.IntFile)"' /> 459 460 <Copy SourceFiles="%(GetPath.IntFile)" 461 DestinationFiles="%(GetPath.OutFile)" 462 Condition="!Exists(%(GetPath.OutFile)) or (Exists(%(GetPath.IntFile)) and '$([System.IO.File]::ReadAllText(%(GetPath.OutFile)).Replace(`
`, `
`))' != '$([System.IO.File]::ReadAllText(%(GetPath.IntFile)).Replace(`
`, `
`))')"> 463 <Output TaskParameter="CopiedFiles" ItemName="_UpdatedGetPath" /> 464 </Copy> 465 466 <Message Text="Updated files: @(_UpdatedGetPath->'%(Filename)%(Extension)',', ')" 467 Condition="'@(_UpdatedGetPath)' != ''" Importance="high" /> 468 </Target> 469 <Target Name="_RebuildFrozen" AfterTargets="AfterBuild" Condition="$(Configuration) != 'PGUpdate'"> 470 <Exec Command='"$(TargetPath)" "%(None.ModName)" "%(None.FullPath)" "%(None.IntFile)"' /> 471 472 <Copy SourceFiles="%(None.IntFile)" 473 DestinationFiles="%(None.OutFile)" 474 Condition="!Exists(%(None.OutFile)) or (Exists(%(None.IntFile)) and '$([System.IO.File]::ReadAllText(%(None.OutFile)).Replace(`
`, `
`))' != '$([System.IO.File]::ReadAllText(%(None.IntFile)).Replace(`
`, `
`))')"> 475 <Output TaskParameter="CopiedFiles" ItemName="_Updated" /> 476 </Copy> 477 478 <Message Text="Updated files: @(_Updated->'%(Filename)%(Extension)',', ')" 479 Condition="'@(_Updated)' != ''" Importance="high" /> 480 </Target> 481 <Target Name="_CleanFrozen" BeforeTargets="CoreClean" Condition="$(Configuration) != 'PGUpdate'"> 482 <ItemGroup> 483 <Clean Include="%(None.IntFile)" /> 484 <Clean Include="%(None.OutFile)" /> 485 <Clean Include="%(GetPath.IntFile)" /> 486 <Clean Include="%(GetPath.OutFile)" /> 487 <Clean Include="$(GeneratedFrozenModulesDir)deepfreeze.c" /> 488 </ItemGroup> 489 </Target> 490</Project> 491