Skip to content

Commit a9bccf9

Browse files
committed
Change Visual Studio project from v2019 to vs2026
1 parent 7bd6c8b commit a9bccf9

105 files changed

Lines changed: 32 additions & 48 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

2-
vs2019_project/.vs/ft2-clone/v16/.suo
3-
vs2019_project/enc_temp_folder/*
4-
vs2019_project/ft2-clone/Release/ft2-clone.vcxproj.FileListAbsolute.txt
5-
vs2019_project/ft2-clone/x64/Debug/ft2-clone.vcxproj.FileListAbsolute.txt
6-
vs2019_project/ft2-clone/Debug/ft2-clone.vcxproj.FileListAbsolute.txt
2+
vs2026_project/.vs/*
3+
vs2026_project/enc_temp_folder/*
4+
vs2026_project/ft2-clone/Release/*
5+
vs2026_project/ft2-clone/x64/Debug/ft2-clone.vcxproj.FileListAbsolute.txt
6+
vs2026_project/ft2-clone/Debug/*
77
.DS_Store
88
*.exe
99
*.db

HOW-TO-COMPILE.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ Compiled Windows/macOS binaries are always available at 16-bits.org/ft2.php
2323
Known issues: Audio recording (sampling) can update VERY slowly or not work at
2424
all... I have no idea why, it works really well on Windows/maCOS.
2525

26-
== COMPILING ON WINDOWS 7 SP1 OR NEWER ==
27-
1. Download Visual Studio Community 2019 (it's free) EDIT: Hard to find now!
26+
== COMPILING ON WINDOWS 10 OR NEWER ==
27+
1. Download Visual Studio 2026 (it's free)
2828
2. Start the installer and select the "Desktop development with C++" package
2929
3. Install and wait for it to finish...
30-
4. Open "ft2-clone\vs2019_project\ft2-clone.sln"
30+
4. Open "ft2-clone\vs2026_project\ft2-clone.slnx"
3131
5. If you're missing the Windows 10 SDK, then you need to change the Windows
3232
SDK version used in the project settings for both debug and release x86/x64.
3333
6. Compile (make sure it's in Release mode. Also note x86/x64)

vs2019_project/ft2-clone.sln

Lines changed: 0 additions & 31 deletions
This file was deleted.

vs2026_project/ft2-clone.slnx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<Solution>
2+
<Configurations>
3+
<Platform Name="x64" />
4+
<Platform Name="x86" />
5+
</Configurations>
6+
<Project Path="ft2-clone/ft2-clone.vcxproj" Id="6c633792-f87d-4f1c-ab02-c25202ffede6" />
7+
</Solution>

vs2019_project/ft2-clone/ft2-clone.vcxproj renamed to vs2026_project/ft2-clone/ft2-clone.vcxproj

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,34 +17,37 @@
1717
<Configuration>Release</Configuration>
1818
<Platform>x64</Platform>
1919
</ProjectConfiguration>
20+
2021
</ItemGroup>
2122
<PropertyGroup Label="Globals">
23+
<VCProjectVersion>18.0</VCProjectVersion>
2224
<ProjectGuid>{6C633792-F87D-4F1C-AB02-C25202FFEDE6}</ProjectGuid>
2325
<RootNamespace>ft2-clone</RootNamespace>
2426
<ProjectName>ft2-clone</ProjectName>
25-
<WindowsTargetPlatformVersion>10.0.19041.0</WindowsTargetPlatformVersion>
27+
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
2628
</PropertyGroup>
2729
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
2830
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
29-
<PlatformToolset>v141</PlatformToolset>
31+
<PlatformToolset>v145</PlatformToolset>
3032
<CharacterSet>Unicode</CharacterSet>
3133
<WholeProgramOptimization>true</WholeProgramOptimization>
3234
</PropertyGroup>
3335
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
3436
<WholeProgramOptimization>true</WholeProgramOptimization>
3537
<CharacterSet>Unicode</CharacterSet>
36-
<PlatformToolset>v142</PlatformToolset>
38+
<PlatformToolset>v145</PlatformToolset>
3739
</PropertyGroup>
3840
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
3941
<UseDebugLibraries>true</UseDebugLibraries>
40-
<PlatformToolset>v141</PlatformToolset>
42+
<PlatformToolset>v145</PlatformToolset>
4143
<CharacterSet>Unicode</CharacterSet>
4244
</PropertyGroup>
4345
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
4446
<UseDebugLibraries>true</UseDebugLibraries>
45-
<PlatformToolset>v142</PlatformToolset>
4647
<CharacterSet>Unicode</CharacterSet>
48+
<PlatformToolset>v145</PlatformToolset>
4749
</PropertyGroup>
50+
4851
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
4952
<ImportGroup Label="ExtensionSettings">
5053
</ImportGroup>
@@ -60,7 +63,9 @@
6063
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
6164
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
6265
</ImportGroup>
66+
6367
<PropertyGroup Label="UserMacros" />
68+
6469
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
6570
<LibraryPath>sdl\lib;$(VCInstallDir)lib;$(LibraryPath)</LibraryPath>
6671
<IncludePath>sdl\include;$(VCInstallDir)include;$(IncludePath)</IncludePath>
@@ -108,14 +113,14 @@
108113
<FloatingPointModel>Fast</FloatingPointModel>
109114
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
110115
<RuntimeTypeInfo>false</RuntimeTypeInfo>
116+
<LanguageStandard>stdcpplatest</LanguageStandard>
111117
</ClCompile>
112118
<Link>
113119
<AdditionalLibraryDirectories>
114120
</AdditionalLibraryDirectories>
115121
<SubSystem>Windows</SubSystem>
116122
<AdditionalDependencies>SDL2main.lib;SDL2.lib;shlwapi.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
117123
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
118-
<MinimumRequiredVersion>5.1</MinimumRequiredVersion>
119124
<FullProgramDatabaseFile>
120125
</FullProgramDatabaseFile>
121126
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
@@ -159,6 +164,7 @@
159164
<FloatingPointModel>Fast</FloatingPointModel>
160165
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
161166
<RuntimeTypeInfo>false</RuntimeTypeInfo>
167+
<LanguageStandard_C>stdclatest</LanguageStandard_C>
162168
</ClCompile>
163169
<Link>
164170
<AdditionalLibraryDirectories>
@@ -208,6 +214,7 @@
208214
<FloatingPointModel>Fast</FloatingPointModel>
209215
<MinimalRebuild>false</MinimalRebuild>
210216
<RuntimeTypeInfo>false</RuntimeTypeInfo>
217+
<LanguageStandard>stdcpplatest</LanguageStandard>
211218
</ClCompile>
212219
<Link>
213220
<AdditionalLibraryDirectories>
@@ -216,7 +223,6 @@
216223
<AdditionalDependencies>SDL2main.lib;SDL2.lib;shlwapi.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
217224
<IgnoreSpecificDefaultLibraries>
218225
</IgnoreSpecificDefaultLibraries>
219-
<MinimumRequiredVersion>5.1</MinimumRequiredVersion>
220226
<GenerateDebugInformation>true</GenerateDebugInformation>
221227
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
222228
<LargeAddressAware>true</LargeAddressAware>
@@ -251,6 +257,7 @@
251257
<MultiProcessorCompilation>true</MultiProcessorCompilation>
252258
<FloatingPointModel>Fast</FloatingPointModel>
253259
<RuntimeTypeInfo>false</RuntimeTypeInfo>
260+
<LanguageStandard>stdcpplatest</LanguageStandard>
254261
</ClCompile>
255262
<Link>
256263
<AdditionalLibraryDirectories>
@@ -440,7 +447,8 @@
440447
<ItemGroup>
441448
<ResourceCompile Include="..\..\src\ft2-clone.rc" />
442449
</ItemGroup>
450+
443451
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
444452
<ImportGroup Label="ExtensionTargets">
445453
</ImportGroup>
446-
</Project>
454+
</Project>
File renamed without changes.

vs2019_project/ft2-clone/ft2-clone.vcxproj.user renamed to vs2026_project/ft2-clone/ft2-clone.vcxproj.user

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
44
<LocalDebuggerDebuggerType>Auto</LocalDebuggerDebuggerType>
55
</PropertyGroup>
File renamed without changes.

0 commit comments

Comments
 (0)