Skip to content

Commit 298db17

Browse files
committed
Updating Kaleidoscope sample for MSW
1 parent f1611fc commit 298db17

File tree

2 files changed

+29
-33
lines changed

2 files changed

+29
-33
lines changed

samples/Kaleidoscope/vc2019/Instascope.sln

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
Microsoft Visual Studio Solution File, Format Version 12.00
2-
# Visual Studio Version 16
3-
VisualStudioVersion = 16.0.29806.167
2+
# Visual Studio Version 17
3+
VisualStudioVersion = 17.14.36310.24 d17.14
44
MinimumVisualStudioVersion = 10.0.40219.1
55
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Instascope", "Instascope.vcxproj", "{74202EDD-91D2-4D2A-B0B6-355CEB16E6BE}"
66
EndProject
77
Global
88
GlobalSection(SolutionConfigurationPlatforms) = preSolution
9-
Debug|Win32 = Debug|Win32
10-
Release|Win32 = Release|Win32
9+
Debug|x64 = Debug|x64
10+
Release|x64 = Release|x64
1111
EndGlobalSection
1212
GlobalSection(ProjectConfigurationPlatforms) = postSolution
13-
{74202EDD-91D2-4D2A-B0B6-355CEB16E6BE}.Debug|Win32.ActiveCfg = Debug|Win32
14-
{74202EDD-91D2-4D2A-B0B6-355CEB16E6BE}.Debug|Win32.Build.0 = Debug|Win32
15-
{74202EDD-91D2-4D2A-B0B6-355CEB16E6BE}.Release|Win32.ActiveCfg = Release|Win32
16-
{74202EDD-91D2-4D2A-B0B6-355CEB16E6BE}.Release|Win32.Build.0 = Release|Win32
13+
{74202EDD-91D2-4D2A-B0B6-355CEB16E6BE}.Debug|x64.ActiveCfg = Debug|x64
14+
{74202EDD-91D2-4D2A-B0B6-355CEB16E6BE}.Debug|x64.Build.0 = Debug|x64
15+
{74202EDD-91D2-4D2A-B0B6-355CEB16E6BE}.Release|x64.ActiveCfg = Release|x64
16+
{74202EDD-91D2-4D2A-B0B6-355CEB16E6BE}.Release|x64.Build.0 = Release|x64
1717
EndGlobalSection
1818
GlobalSection(SolutionProperties) = preSolution
1919
HideSolutionNode = FALSE

samples/Kaleidoscope/vc2019/Instascope.vcxproj

Lines changed: 21 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,64 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemGroup Label="ProjectConfigurations">
4-
<ProjectConfiguration Include="Debug|Win32">
4+
<ProjectConfiguration Include="Debug|x64">
55
<Configuration>Debug</Configuration>
6-
<Platform>Win32</Platform>
6+
<Platform>x64</Platform>
77
</ProjectConfiguration>
8-
<ProjectConfiguration Include="Release|Win32">
8+
<ProjectConfiguration Include="Release|x64">
99
<Configuration>Release</Configuration>
10-
<Platform>Win32</Platform>
10+
<Platform>x64</Platform>
1111
</ProjectConfiguration>
1212
</ItemGroup>
1313
<PropertyGroup Label="Globals">
1414
<ProjectGuid>{74202EDD-91D2-4D2A-B0B6-355CEB16E6BE}</ProjectGuid>
1515
<RootNamespace>InstascopeApp</RootNamespace>
1616
<Keyword>Win32Proj</Keyword>
17+
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
1718
</PropertyGroup>
1819
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
19-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
20+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
2021
<ConfigurationType>Application</ConfigurationType>
2122
<CharacterSet>Unicode</CharacterSet>
2223
<WholeProgramOptimization>true</WholeProgramOptimization>
2324
<PlatformToolset>v110_xp</PlatformToolset>
2425
<PlatformToolset>v110</PlatformToolset>
25-
<PlatformToolset>v140</PlatformToolset>
26+
<PlatformToolset>v142</PlatformToolset>
2627
</PropertyGroup>
27-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
28+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
2829
<ConfigurationType>Application</ConfigurationType>
2930
<CharacterSet>Unicode</CharacterSet>
3031
<PlatformToolset>v110_xp</PlatformToolset>
3132
<PlatformToolset>v110</PlatformToolset>
32-
<PlatformToolset>v140</PlatformToolset>
33+
<PlatformToolset>v142</PlatformToolset>
3334
</PropertyGroup>
3435
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
3536
<ImportGroup Label="ExtensionSettings">
3637
</ImportGroup>
37-
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
38-
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" />
38+
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
39+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
3940
</ImportGroup>
40-
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
41-
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" />
41+
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
42+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
4243
</ImportGroup>
4344
<PropertyGroup Label="UserMacros" />
4445
<PropertyGroup>
4546
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
46-
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
47-
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\</IntDir>
48-
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
49-
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
50-
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration)\</IntDir>
51-
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
47+
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
48+
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
5249
</PropertyGroup>
53-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
50+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
5451
<ClCompile>
5552
<Optimization>Disabled</Optimization>
5653
<AdditionalIncludeDirectories>..\include;..\..\..\include</AdditionalIncludeDirectories>
5754
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;NOMINMAX;%(PreprocessorDefinitions)</PreprocessorDefinitions>
58-
<MinimalRebuild>true</MinimalRebuild>
5955
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
6056
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
6157
<PrecompiledHeader>
6258
</PrecompiledHeader>
6359
<WarningLevel>Level3</WarningLevel>
64-
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
60+
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
61+
<LanguageStandard>stdcpp17</LanguageStandard>
6562
</ClCompile>
6663
<ResourceCompile>
6764
<AdditionalIncludeDirectories>..\..\..\include;..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
@@ -74,11 +71,10 @@
7471
<RandomizedBaseAddress>false</RandomizedBaseAddress>
7572
<DataExecutionPrevention>
7673
</DataExecutionPrevention>
77-
<TargetMachine>MachineX86</TargetMachine>
7874
<IgnoreSpecificDefaultLibraries>LIBCMT</IgnoreSpecificDefaultLibraries>
7975
</Link>
8076
</ItemDefinitionGroup>
81-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
77+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
8278
<ClCompile>
8379
<AdditionalIncludeDirectories>..\include;..\..\..\include</AdditionalIncludeDirectories>
8480
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;NOMINMAX;%(PreprocessorDefinitions)</PreprocessorDefinitions>
@@ -87,6 +83,7 @@
8783
</PrecompiledHeader>
8884
<WarningLevel>Level3</WarningLevel>
8985
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
86+
<LanguageStandard>stdcpp17</LanguageStandard>
9087
</ClCompile>
9188
<ProjectReference>
9289
<LinkLibraryDependencies>true</LinkLibraryDependencies>
@@ -106,7 +103,6 @@
106103
<RandomizedBaseAddress>false</RandomizedBaseAddress>
107104
<DataExecutionPrevention>
108105
</DataExecutionPrevention>
109-
<TargetMachine>MachineX86</TargetMachine>
110106
</Link>
111107
</ItemDefinitionGroup>
112108
<ItemGroup>
@@ -125,4 +121,4 @@
125121
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
126122
<ImportGroup Label="ExtensionTargets">
127123
</ImportGroup>
128-
</Project>
124+
</Project>

0 commit comments

Comments
 (0)