Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d029e5d

Browse files
committed
Get 64-bit building
1 parent a7de612 commit d029e5d

2 files changed

Lines changed: 73 additions & 3 deletions

File tree

PCbuild/pcbuild.sln

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,8 @@ Global
569569
{A2697BD3-28C1-4AEC-9106-8B748639FD16}.Release|x64.Build.0 = Release|x64
570570
{7B2727B5-5A3F-40EE-A866-43A13CD31446}.Debug|Win32.ActiveCfg = Debug|Win32
571571
{7B2727B5-5A3F-40EE-A866-43A13CD31446}.Debug|Win32.Build.0 = Debug|Win32
572-
{7B2727B5-5A3F-40EE-A866-43A13CD31446}.Debug|x64.ActiveCfg = Debug|Win32
572+
{7B2727B5-5A3F-40EE-A866-43A13CD31446}.Debug|x64.ActiveCfg = Debug|x64
573+
{7B2727B5-5A3F-40EE-A866-43A13CD31446}.Debug|x64.Build.0 = Debug|x64
573574
{7B2727B5-5A3F-40EE-A866-43A13CD31446}.PGInstrument|Win32.ActiveCfg = Release|Win32
574575
{7B2727B5-5A3F-40EE-A866-43A13CD31446}.PGInstrument|Win32.Build.0 = Release|Win32
575576
{7B2727B5-5A3F-40EE-A866-43A13CD31446}.PGInstrument|x64.ActiveCfg = Release|Win32
@@ -578,7 +579,8 @@ Global
578579
{7B2727B5-5A3F-40EE-A866-43A13CD31446}.PGUpdate|x64.ActiveCfg = Release|Win32
579580
{7B2727B5-5A3F-40EE-A866-43A13CD31446}.Release|Win32.ActiveCfg = Release|Win32
580581
{7B2727B5-5A3F-40EE-A866-43A13CD31446}.Release|Win32.Build.0 = Release|Win32
581-
{7B2727B5-5A3F-40EE-A866-43A13CD31446}.Release|x64.ActiveCfg = Release|Win32
582+
{7B2727B5-5A3F-40EE-A866-43A13CD31446}.Release|x64.ActiveCfg = Release|x64
583+
{7B2727B5-5A3F-40EE-A866-43A13CD31446}.Release|x64.Build.0 = Release|x64
582584
EndGlobalSection
583585
GlobalSection(SolutionProperties) = preSolution
584586
HideSolutionNode = FALSE

PCbuild/pylauncher.vcxproj

Lines changed: 69 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,18 @@
55
<Configuration>Debug</Configuration>
66
<Platform>Win32</Platform>
77
</ProjectConfiguration>
8+
<ProjectConfiguration Include="Debug|x64">
9+
<Configuration>Debug</Configuration>
10+
<Platform>x64</Platform>
11+
</ProjectConfiguration>
812
<ProjectConfiguration Include="Release|Win32">
913
<Configuration>Release</Configuration>
1014
<Platform>Win32</Platform>
1115
</ProjectConfiguration>
16+
<ProjectConfiguration Include="Release|x64">
17+
<Configuration>Release</Configuration>
18+
<Platform>x64</Platform>
19+
</ProjectConfiguration>
1220
</ItemGroup>
1321
<PropertyGroup Label="Globals">
1422
<ProjectGuid>{7B2727B5-5A3F-40EE-A866-43A13CD31446}</ProjectGuid>
@@ -20,12 +28,23 @@
2028
<UseDebugLibraries>true</UseDebugLibraries>
2129
<CharacterSet>MultiByte</CharacterSet>
2230
</PropertyGroup>
31+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
32+
<ConfigurationType>Application</ConfigurationType>
33+
<UseDebugLibraries>true</UseDebugLibraries>
34+
<CharacterSet>MultiByte</CharacterSet>
35+
</PropertyGroup>
2336
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
2437
<ConfigurationType>Application</ConfigurationType>
2538
<UseDebugLibraries>false</UseDebugLibraries>
2639
<WholeProgramOptimization>true</WholeProgramOptimization>
2740
<CharacterSet>MultiByte</CharacterSet>
2841
</PropertyGroup>
42+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
43+
<ConfigurationType>Application</ConfigurationType>
44+
<UseDebugLibraries>false</UseDebugLibraries>
45+
<WholeProgramOptimization>true</WholeProgramOptimization>
46+
<CharacterSet>MultiByte</CharacterSet>
47+
</PropertyGroup>
2948
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
3049
<ImportGroup Label="ExtensionSettings">
3150
</ImportGroup>
@@ -34,18 +53,36 @@
3453
<Import Project="pyproject.props" />
3554
<Import Project="debug.props" />
3655
</ImportGroup>
56+
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" 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+
<Import Project="debug.props" />
60+
<Import Project="x64.props" />
61+
</ImportGroup>
3762
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
3863
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
3964
<Import Project="pyproject.props" />
4065
<Import Project="release.props" />
4166
</ImportGroup>
67+
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
68+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
69+
<Import Project="pyproject.props" />
70+
<Import Project="release.props" />
71+
<Import Project="x64.props" />
72+
</ImportGroup>
4273
<PropertyGroup Label="UserMacros" />
4374
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
4475
<TargetName>py_d</TargetName>
4576
</PropertyGroup>
77+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
78+
<TargetName>py_d</TargetName>
79+
</PropertyGroup>
4680
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
4781
<TargetName>py</TargetName>
4882
</PropertyGroup>
83+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
84+
<TargetName>py</TargetName>
85+
</PropertyGroup>
4986
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
5087
<ClCompile>
5188
<WarningLevel>Level3</WarningLevel>
@@ -57,7 +94,21 @@
5794
<AdditionalDependencies>version.lib;%(AdditionalDependencies)</AdditionalDependencies>
5895
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
5996
<SubSystem>Console</SubSystem>
60-
<OutputFile>$(OutDir)$(TargetName)_d$(TargetExt)</OutputFile>
97+
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
98+
</Link>
99+
</ItemDefinitionGroup>
100+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
101+
<ClCompile>
102+
<WarningLevel>Level3</WarningLevel>
103+
<Optimization>Disabled</Optimization>
104+
<PreprocessorDefinitions>_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
105+
</ClCompile>
106+
<Link>
107+
<GenerateDebugInformation>true</GenerateDebugInformation>
108+
<AdditionalDependencies>version.lib;%(AdditionalDependencies)</AdditionalDependencies>
109+
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
110+
<SubSystem>Console</SubSystem>
111+
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
61112
</Link>
62113
</ItemDefinitionGroup>
63114
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
@@ -77,6 +128,23 @@
77128
<SubSystem>Console</SubSystem>
78129
</Link>
79130
</ItemDefinitionGroup>
131+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
132+
<ClCompile>
133+
<WarningLevel>Level3</WarningLevel>
134+
<Optimization>MaxSpeed</Optimization>
135+
<FunctionLevelLinking>true</FunctionLevelLinking>
136+
<IntrinsicFunctions>true</IntrinsicFunctions>
137+
<PreprocessorDefinitions>_CONSOLE;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
138+
</ClCompile>
139+
<Link>
140+
<GenerateDebugInformation>true</GenerateDebugInformation>
141+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
142+
<OptimizeReferences>true</OptimizeReferences>
143+
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
144+
<AdditionalDependencies>version.lib;%(AdditionalDependencies)</AdditionalDependencies>
145+
<SubSystem>Console</SubSystem>
146+
</Link>
147+
</ItemDefinitionGroup>
80148
<ItemGroup>
81149
<ClCompile Include="..\PC\launcher.c" />
82150
</ItemGroup>

0 commit comments

Comments
 (0)