diff options
author | 3gg <3gg@shellblade.net> | 2025-08-30 16:53:58 -0700 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2025-08-30 16:53:58 -0700 |
commit | 6aaedb813fa11ba0679c3051bc2eb28646b9506c (patch) | |
tree | 34acbfc9840e02cb4753e6306ea7ce978bf8b58e /src/contrib/SDL-3.2.20/VisualC/examples | |
parent | 8f228ade99dd3d4c8da9b78ade1815c9adf85c8f (diff) |
Update to SDL3
Diffstat (limited to 'src/contrib/SDL-3.2.20/VisualC/examples')
25 files changed, 539 insertions, 0 deletions
diff --git a/src/contrib/SDL-3.2.20/VisualC/examples/Directory.Build.props b/src/contrib/SDL-3.2.20/VisualC/examples/Directory.Build.props new file mode 100644 index 0000000..4833d3e --- /dev/null +++ b/src/contrib/SDL-3.2.20/VisualC/examples/Directory.Build.props | |||
@@ -0,0 +1,178 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <Project DefaultTargets="Build" 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="Release|Win32"> | ||
9 | <Configuration>Release</Configuration> | ||
10 | <Platform>Win32</Platform> | ||
11 | </ProjectConfiguration> | ||
12 | <ProjectConfiguration Include="Debug|x64"> | ||
13 | <Configuration>Debug</Configuration> | ||
14 | <Platform>x64</Platform> | ||
15 | </ProjectConfiguration> | ||
16 | <ProjectConfiguration Include="Release|x64"> | ||
17 | <Configuration>Release</Configuration> | ||
18 | <Platform>x64</Platform> | ||
19 | </ProjectConfiguration> | ||
20 | </ItemGroup> | ||
21 | <PropertyGroup Label="Globals"> | ||
22 | <VCProjectVersion>15.0</VCProjectVersion> | ||
23 | <Keyword>Win32Proj</Keyword> | ||
24 | <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> | ||
25 | </PropertyGroup> | ||
26 | <PropertyGroup> | ||
27 | <PreferredToolArchitecture>x64</PreferredToolArchitecture> | ||
28 | </PropertyGroup> | ||
29 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | ||
30 | <ConfigurationType>Application</ConfigurationType> | ||
31 | <UseDebugLibraries>true</UseDebugLibraries> | ||
32 | <PlatformToolset>v143</PlatformToolset> | ||
33 | <CharacterSet>Unicode</CharacterSet> | ||
34 | </PropertyGroup> | ||
35 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> | ||
36 | <ConfigurationType>Application</ConfigurationType> | ||
37 | <UseDebugLibraries>false</UseDebugLibraries> | ||
38 | <PlatformToolset>v143</PlatformToolset> | ||
39 | <WholeProgramOptimization>true</WholeProgramOptimization> | ||
40 | <CharacterSet>Unicode</CharacterSet> | ||
41 | </PropertyGroup> | ||
42 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> | ||
43 | <ConfigurationType>Application</ConfigurationType> | ||
44 | <UseDebugLibraries>true</UseDebugLibraries> | ||
45 | <PlatformToolset>v143</PlatformToolset> | ||
46 | <CharacterSet>Unicode</CharacterSet> | ||
47 | </PropertyGroup> | ||
48 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> | ||
49 | <ConfigurationType>Application</ConfigurationType> | ||
50 | <UseDebugLibraries>false</UseDebugLibraries> | ||
51 | <PlatformToolset>v143</PlatformToolset> | ||
52 | <WholeProgramOptimization>true</WholeProgramOptimization> | ||
53 | <CharacterSet>Unicode</CharacterSet> | ||
54 | </PropertyGroup> | ||
55 | <ImportGroup Label="ExtensionSettings"> | ||
56 | </ImportGroup> | ||
57 | <ImportGroup Label="Shared"> | ||
58 | </ImportGroup> | ||
59 | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | ||
60 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
61 | </ImportGroup> | ||
62 | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | ||
63 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
64 | </ImportGroup> | ||
65 | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | ||
66 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
67 | </ImportGroup> | ||
68 | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | ||
69 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
70 | </ImportGroup> | ||
71 | <PropertyGroup Label="UserMacros" /> | ||
72 | <PropertyGroup> | ||
73 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | ||
74 | <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Platform)\$(Configuration)\</IntDir> | ||
75 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | ||
76 | <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</IntDir> | ||
77 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | ||
78 | <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</IntDir> | ||
79 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | ||
80 | <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir> | ||
81 | </PropertyGroup> | ||
82 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | ||
83 | <LinkIncremental>true</LinkIncremental> | ||
84 | </PropertyGroup> | ||
85 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | ||
86 | <LinkIncremental>true</LinkIncremental> | ||
87 | </PropertyGroup> | ||
88 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | ||
89 | <LinkIncremental>false</LinkIncremental> | ||
90 | </PropertyGroup> | ||
91 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | ||
92 | <LinkIncremental>false</LinkIncremental> | ||
93 | </PropertyGroup> | ||
94 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | ||
95 | <ClCompile> | ||
96 | <PrecompiledHeader>NotUsing</PrecompiledHeader> | ||
97 | <WarningLevel>Level3</WarningLevel> | ||
98 | <Optimization>Disabled</Optimization> | ||
99 | <SDLCheck>true</SDLCheck> | ||
100 | <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
101 | <ConformanceMode>true</ConformanceMode> | ||
102 | <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> | ||
103 | </ClCompile> | ||
104 | <Link> | ||
105 | <SubSystem>Console</SubSystem> | ||
106 | <GenerateDebugInformation>true</GenerateDebugInformation> | ||
107 | </Link> | ||
108 | </ItemDefinitionGroup> | ||
109 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | ||
110 | <ClCompile> | ||
111 | <PrecompiledHeader>NotUsing</PrecompiledHeader> | ||
112 | <WarningLevel>Level3</WarningLevel> | ||
113 | <Optimization>Disabled</Optimization> | ||
114 | <SDLCheck>true</SDLCheck> | ||
115 | <PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
116 | <ConformanceMode>true</ConformanceMode> | ||
117 | <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> | ||
118 | </ClCompile> | ||
119 | <Link> | ||
120 | <SubSystem>Console</SubSystem> | ||
121 | <GenerateDebugInformation>true</GenerateDebugInformation> | ||
122 | </Link> | ||
123 | </ItemDefinitionGroup> | ||
124 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | ||
125 | <ClCompile> | ||
126 | <PrecompiledHeader>NotUsing</PrecompiledHeader> | ||
127 | <WarningLevel>Level3</WarningLevel> | ||
128 | <Optimization>MaxSpeed</Optimization> | ||
129 | <FunctionLevelLinking>true</FunctionLevelLinking> | ||
130 | <IntrinsicFunctions>true</IntrinsicFunctions> | ||
131 | <SDLCheck>true</SDLCheck> | ||
132 | <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
133 | <ConformanceMode>true</ConformanceMode> | ||
134 | <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> | ||
135 | </ClCompile> | ||
136 | <Link> | ||
137 | <SubSystem>Console</SubSystem> | ||
138 | <EnableCOMDATFolding>true</EnableCOMDATFolding> | ||
139 | <OptimizeReferences>true</OptimizeReferences> | ||
140 | <GenerateDebugInformation>true</GenerateDebugInformation> | ||
141 | </Link> | ||
142 | </ItemDefinitionGroup> | ||
143 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | ||
144 | <ClCompile> | ||
145 | <PrecompiledHeader>NotUsing</PrecompiledHeader> | ||
146 | <WarningLevel>Level3</WarningLevel> | ||
147 | <Optimization>MaxSpeed</Optimization> | ||
148 | <FunctionLevelLinking>true</FunctionLevelLinking> | ||
149 | <IntrinsicFunctions>true</IntrinsicFunctions> | ||
150 | <SDLCheck>true</SDLCheck> | ||
151 | <PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
152 | <ConformanceMode>true</ConformanceMode> | ||
153 | <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> | ||
154 | </ClCompile> | ||
155 | <Link> | ||
156 | <SubSystem>Console</SubSystem> | ||
157 | <EnableCOMDATFolding>true</EnableCOMDATFolding> | ||
158 | <OptimizeReferences>true</OptimizeReferences> | ||
159 | <GenerateDebugInformation>true</GenerateDebugInformation> | ||
160 | </Link> | ||
161 | </ItemDefinitionGroup> | ||
162 | <ItemDefinitionGroup> | ||
163 | <ClCompile> | ||
164 | <AdditionalOptions>%(AdditionalOptions) /utf-8</AdditionalOptions> | ||
165 | <AdditionalIncludeDirectories>$(SolutionDir)\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
166 | </ClCompile> | ||
167 | </ItemDefinitionGroup> | ||
168 | <ItemGroup> | ||
169 | <ProjectReference Include="$(SolutionDir)\SDL\SDL.vcxproj"> | ||
170 | <Project>{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}</Project> | ||
171 | <Private>false</Private> | ||
172 | <CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies> | ||
173 | <ReferenceOutputAssembly>true</ReferenceOutputAssembly> | ||
174 | </ProjectReference> | ||
175 | </ItemGroup> | ||
176 | <ImportGroup Label="ExtensionTargets"> | ||
177 | </ImportGroup> | ||
178 | </Project> \ No newline at end of file | ||
diff --git a/src/contrib/SDL-3.2.20/VisualC/examples/audio/01-simple-playback/01-simple-playback.vcxproj b/src/contrib/SDL-3.2.20/VisualC/examples/audio/01-simple-playback/01-simple-playback.vcxproj new file mode 100644 index 0000000..de4a67c --- /dev/null +++ b/src/contrib/SDL-3.2.20/VisualC/examples/audio/01-simple-playback/01-simple-playback.vcxproj | |||
@@ -0,0 +1,13 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | <PropertyGroup Label="Globals"> | ||
4 | <ProjectGuid>{EB448819-74BC-40C9-A61A-4D4ECD55F9D5}</ProjectGuid> | ||
5 | </PropertyGroup> | ||
6 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
7 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
8 | <ItemGroup> | ||
9 | <None Include="$(SolutionDir)\..\examples\audio\01-simple-playback\README.txt" /> | ||
10 | <ClCompile Include="$(SolutionDir)\..\examples\audio\01-simple-playback\simple-playback.c" /> | ||
11 | </ItemGroup> | ||
12 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
13 | </Project> \ No newline at end of file | ||
diff --git a/src/contrib/SDL-3.2.20/VisualC/examples/audio/02-simple-playback-callback/02-simple-playback-callback.vcxproj b/src/contrib/SDL-3.2.20/VisualC/examples/audio/02-simple-playback-callback/02-simple-playback-callback.vcxproj new file mode 100644 index 0000000..7140c33 --- /dev/null +++ b/src/contrib/SDL-3.2.20/VisualC/examples/audio/02-simple-playback-callback/02-simple-playback-callback.vcxproj | |||
@@ -0,0 +1,13 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | <PropertyGroup Label="Globals"> | ||
4 | <ProjectGuid>{6B710DFF-8A4A-40A2-BF2D-88D266F3D4F0}</ProjectGuid> | ||
5 | </PropertyGroup> | ||
6 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
7 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
8 | <ItemGroup> | ||
9 | <None Include="$(SolutionDir)\..\examples\audio\02-simple-playback-callback\README.txt" /> | ||
10 | <ClCompile Include="$(SolutionDir)\..\examples\audio\02-simple-playback-callback\simple-playback-callback.c" /> | ||
11 | </ItemGroup> | ||
12 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
13 | </Project> \ No newline at end of file | ||
diff --git a/src/contrib/SDL-3.2.20/VisualC/examples/audio/03-load-wav/03-load-wav.vcxproj b/src/contrib/SDL-3.2.20/VisualC/examples/audio/03-load-wav/03-load-wav.vcxproj new file mode 100644 index 0000000..356cb6e --- /dev/null +++ b/src/contrib/SDL-3.2.20/VisualC/examples/audio/03-load-wav/03-load-wav.vcxproj | |||
@@ -0,0 +1,14 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | <PropertyGroup Label="Globals"> | ||
4 | <ProjectGuid>{608C6C67-7766-471F-BBFF-8B00086039AF}</ProjectGuid> | ||
5 | </PropertyGroup> | ||
6 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
7 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
8 | <ItemGroup> | ||
9 | <None Include="$(SolutionDir)\..\examples\audio\03-load-wav\README.txt" /> | ||
10 | <ClCompile Include="$(SolutionDir)\..\examples\audio\03-load-wav\load-wav.c" /> | ||
11 | <Content Include="$(SolutionDir)\..\test\sample.wav" CopyToOutputDirectory="PreserveNewest" /> | ||
12 | </ItemGroup> | ||
13 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
14 | </Project> \ No newline at end of file | ||
diff --git a/src/contrib/SDL-3.2.20/VisualC/examples/camera/01-read-and-draw/01-read-and-draw.vcxproj b/src/contrib/SDL-3.2.20/VisualC/examples/camera/01-read-and-draw/01-read-and-draw.vcxproj new file mode 100644 index 0000000..c143bce --- /dev/null +++ b/src/contrib/SDL-3.2.20/VisualC/examples/camera/01-read-and-draw/01-read-and-draw.vcxproj | |||
@@ -0,0 +1,13 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | <PropertyGroup Label="Globals"> | ||
4 | <ProjectGuid>{510ACF0C-4012-4216-98EF-E4F155DE33CE}</ProjectGuid> | ||
5 | </PropertyGroup> | ||
6 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
7 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
8 | <ItemGroup> | ||
9 | <None Include="$(SolutionDir)\..\examples\camera\01-read-and-draw\README.txt" /> | ||
10 | <ClCompile Include="$(SolutionDir)\..\examples\camera\01-read-and-draw\read-and-draw.c" /> | ||
11 | </ItemGroup> | ||
12 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
13 | </Project> \ No newline at end of file | ||
diff --git a/src/contrib/SDL-3.2.20/VisualC/examples/demo/01-snake/01-snake.vcxproj b/src/contrib/SDL-3.2.20/VisualC/examples/demo/01-snake/01-snake.vcxproj new file mode 100644 index 0000000..85128b4 --- /dev/null +++ b/src/contrib/SDL-3.2.20/VisualC/examples/demo/01-snake/01-snake.vcxproj | |||
@@ -0,0 +1,13 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | <PropertyGroup Label="Globals"> | ||
4 | <ProjectGuid>{7820969A-5B7B-4046-BB0A-82905D457FC5}</ProjectGuid> | ||
5 | </PropertyGroup> | ||
6 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
7 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
8 | <ItemGroup> | ||
9 | <None Include="$(SolutionDir)\..\examples\demo\01-snake\README.txt" /> | ||
10 | <ClCompile Include="$(SolutionDir)\..\examples\demo\01-snake\snake.c" /> | ||
11 | </ItemGroup> | ||
12 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
13 | </Project> \ No newline at end of file | ||
diff --git a/src/contrib/SDL-3.2.20/VisualC/examples/demo/02-woodeneye-008/02-woodeneye-008.vcxproj b/src/contrib/SDL-3.2.20/VisualC/examples/demo/02-woodeneye-008/02-woodeneye-008.vcxproj new file mode 100644 index 0000000..08f1da9 --- /dev/null +++ b/src/contrib/SDL-3.2.20/VisualC/examples/demo/02-woodeneye-008/02-woodeneye-008.vcxproj | |||
@@ -0,0 +1,13 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | <PropertyGroup Label="Globals"> | ||
4 | <ProjectGuid>{A3F601E0-B54C-4DD8-8A97-FDEF7624EE60}</ProjectGuid> | ||
5 | </PropertyGroup> | ||
6 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
7 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
8 | <ItemGroup> | ||
9 | <None Include="$(SolutionDir)\..\examples\demo\02-woodeneye-008\README.txt" /> | ||
10 | <ClCompile Include="$(SolutionDir)\..\examples\demo\02-woodeneye-008\woodeneye-008.c" /> | ||
11 | </ItemGroup> | ||
12 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
13 | </Project> \ No newline at end of file | ||
diff --git a/src/contrib/SDL-3.2.20/VisualC/examples/demo/03-infinite-monkeys/03-infinite-monkeys.vcxproj b/src/contrib/SDL-3.2.20/VisualC/examples/demo/03-infinite-monkeys/03-infinite-monkeys.vcxproj new file mode 100644 index 0000000..a08c5e4 --- /dev/null +++ b/src/contrib/SDL-3.2.20/VisualC/examples/demo/03-infinite-monkeys/03-infinite-monkeys.vcxproj | |||
@@ -0,0 +1,13 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | <PropertyGroup Label="Globals"> | ||
4 | <ProjectGuid>{75AEE75A-C016-4497-960B-D767B822237D}</ProjectGuid> | ||
5 | </PropertyGroup> | ||
6 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
7 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
8 | <ItemGroup> | ||
9 | <None Include="$(SolutionDir)\..\examples\demo\03-infinite-monkeys\README.txt" /> | ||
10 | <ClCompile Include="$(SolutionDir)\..\examples\demo\03-infinite-monkeys\infinite-monkeys.c" /> | ||
11 | </ItemGroup> | ||
12 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
13 | </Project> \ No newline at end of file | ||
diff --git a/src/contrib/SDL-3.2.20/VisualC/examples/generate.py b/src/contrib/SDL-3.2.20/VisualC/examples/generate.py new file mode 100755 index 0000000..e06110e --- /dev/null +++ b/src/contrib/SDL-3.2.20/VisualC/examples/generate.py | |||
@@ -0,0 +1,54 @@ | |||
1 | import os | ||
2 | import pathlib | ||
3 | import uuid | ||
4 | |||
5 | REPOSITORY_ROOT = pathlib.Path(__file__).parent.parent.parent | ||
6 | |||
7 | |||
8 | def generate(category, example_name, c_source_file): | ||
9 | guid = str(uuid.uuid4()).upper() | ||
10 | text = f""" | ||
11 | <?xml version="1.0" encoding="utf-8"?> | ||
12 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
13 | <PropertyGroup Label="Globals"> | ||
14 | <ProjectGuid>{{{guid}}}</ProjectGuid> | ||
15 | </PropertyGroup> | ||
16 | <Import Project="$(VCTargetsPath)\\Microsoft.Cpp.Default.props" /> | ||
17 | <Import Project="$(VCTargetsPath)\\Microsoft.Cpp.props" /> | ||
18 | <ItemGroup> | ||
19 | <None Include="$(SolutionDir)\\..\\examples\\{category}\\{example_name}\\README.txt" /> | ||
20 | <ClCompile Include="$(SolutionDir)\\..\\examples\\{category}\\{example_name}\\{c_source_file}" /> | ||
21 | </ItemGroup> | ||
22 | <Import Project="$(VCTargetsPath)\\Microsoft.Cpp.targets" /> | ||
23 | </Project> | ||
24 | """.strip() | ||
25 | |||
26 | project_file = REPOSITORY_ROOT / "VisualC" / "examples" / category / example_name / f"{example_name}.vcxproj" | ||
27 | |||
28 | if project_file.exists(): | ||
29 | print("Skipping:", project_file) | ||
30 | return | ||
31 | |||
32 | print("Generating file:", project_file) | ||
33 | os.makedirs(project_file.parent, exist_ok=True) | ||
34 | with open(project_file, "w", encoding="utf-8") as f: | ||
35 | f.write(text) | ||
36 | |||
37 | |||
38 | def get_c_source_filename(example_dir: pathlib.Path): | ||
39 | """Gets the one and only C source file name in the directory of the example.""" | ||
40 | c_files = [f.name for f in example_dir.iterdir() if f.name.endswith(".c")] | ||
41 | assert len(c_files) == 1 | ||
42 | return c_files[0] | ||
43 | |||
44 | |||
45 | def main(): | ||
46 | path = REPOSITORY_ROOT / "examples" | ||
47 | for category in path.iterdir(): | ||
48 | if category.is_dir(): | ||
49 | for example in category.iterdir(): | ||
50 | generate(category.name, example.name, get_c_source_filename(example)) | ||
51 | |||
52 | |||
53 | if __name__ == "__main__": | ||
54 | main() | ||
diff --git a/src/contrib/SDL-3.2.20/VisualC/examples/pen/01-drawing-lines/01-drawing-lines.vcxproj b/src/contrib/SDL-3.2.20/VisualC/examples/pen/01-drawing-lines/01-drawing-lines.vcxproj new file mode 100644 index 0000000..64025bb --- /dev/null +++ b/src/contrib/SDL-3.2.20/VisualC/examples/pen/01-drawing-lines/01-drawing-lines.vcxproj | |||
@@ -0,0 +1,13 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | <PropertyGroup Label="Globals"> | ||
4 | <ProjectGuid>{5EDA1ED3-8213-4C12-B0DF-B631EB611804}</ProjectGuid> | ||
5 | </PropertyGroup> | ||
6 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
7 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
8 | <ItemGroup> | ||
9 | <None Include="$(SolutionDir)\..\examples\pen\01-drawing-lines\README.txt" /> | ||
10 | <ClCompile Include="$(SolutionDir)\..\examples\pen\01-drawing-lines\drawing-lines.c" /> | ||
11 | </ItemGroup> | ||
12 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
13 | </Project> \ No newline at end of file | ||
diff --git a/src/contrib/SDL-3.2.20/VisualC/examples/renderer/01-clear/01-clear.vcxproj b/src/contrib/SDL-3.2.20/VisualC/examples/renderer/01-clear/01-clear.vcxproj new file mode 100644 index 0000000..e55d8df --- /dev/null +++ b/src/contrib/SDL-3.2.20/VisualC/examples/renderer/01-clear/01-clear.vcxproj | |||
@@ -0,0 +1,13 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | <PropertyGroup Label="Globals"> | ||
4 | <ProjectGuid>{896557AC-7575-480C-8FFD-AB08B5DA305D}</ProjectGuid> | ||
5 | </PropertyGroup> | ||
6 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
7 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
8 | <ItemGroup> | ||
9 | <None Include="$(SolutionDir)\..\examples\renderer\01-clear\README.txt" /> | ||
10 | <ClCompile Include="$(SolutionDir)\..\examples\renderer\01-clear\clear.c" /> | ||
11 | </ItemGroup> | ||
12 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
13 | </Project> \ No newline at end of file | ||
diff --git a/src/contrib/SDL-3.2.20/VisualC/examples/renderer/02-primitives/02-primitives.vcxproj b/src/contrib/SDL-3.2.20/VisualC/examples/renderer/02-primitives/02-primitives.vcxproj new file mode 100644 index 0000000..525bba7 --- /dev/null +++ b/src/contrib/SDL-3.2.20/VisualC/examples/renderer/02-primitives/02-primitives.vcxproj | |||
@@ -0,0 +1,13 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | <PropertyGroup Label="Globals"> | ||
4 | <ProjectGuid>{504DC7EC-D82E-448E-9C7D-3BE7981592B3}</ProjectGuid> | ||
5 | </PropertyGroup> | ||
6 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
7 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
8 | <ItemGroup> | ||
9 | <None Include="$(SolutionDir)\..\examples\renderer\02-primitives\README.txt" /> | ||
10 | <ClCompile Include="$(SolutionDir)\..\examples\renderer\02-primitives\primitives.c" /> | ||
11 | </ItemGroup> | ||
12 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
13 | </Project> \ No newline at end of file | ||
diff --git a/src/contrib/SDL-3.2.20/VisualC/examples/renderer/03-lines/03-lines.vcxproj b/src/contrib/SDL-3.2.20/VisualC/examples/renderer/03-lines/03-lines.vcxproj new file mode 100644 index 0000000..4b40b7e --- /dev/null +++ b/src/contrib/SDL-3.2.20/VisualC/examples/renderer/03-lines/03-lines.vcxproj | |||
@@ -0,0 +1,13 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | <PropertyGroup Label="Globals"> | ||
4 | <ProjectGuid>{BDE7DBC0-DCE7-432E-8750-C4AE55463699}</ProjectGuid> | ||
5 | </PropertyGroup> | ||
6 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
7 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
8 | <ItemGroup> | ||
9 | <None Include="$(SolutionDir)\..\examples\renderer\03-lines\README.txt" /> | ||
10 | <ClCompile Include="$(SolutionDir)\..\examples\renderer\03-lines\lines.c" /> | ||
11 | </ItemGroup> | ||
12 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
13 | </Project> \ No newline at end of file | ||
diff --git a/src/contrib/SDL-3.2.20/VisualC/examples/renderer/04-points/04-points.vcxproj b/src/contrib/SDL-3.2.20/VisualC/examples/renderer/04-points/04-points.vcxproj new file mode 100644 index 0000000..0c8fa22 --- /dev/null +++ b/src/contrib/SDL-3.2.20/VisualC/examples/renderer/04-points/04-points.vcxproj | |||
@@ -0,0 +1,13 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | <PropertyGroup Label="Globals"> | ||
4 | <ProjectGuid>{7B250AB1-92D3-4F1A-BEB4-19605A69CEDB}</ProjectGuid> | ||
5 | </PropertyGroup> | ||
6 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
7 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
8 | <ItemGroup> | ||
9 | <None Include="$(SolutionDir)\..\examples\renderer\04-points\README.txt" /> | ||
10 | <ClCompile Include="$(SolutionDir)\..\examples\renderer\04-points\points.c" /> | ||
11 | </ItemGroup> | ||
12 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
13 | </Project> \ No newline at end of file | ||
diff --git a/src/contrib/SDL-3.2.20/VisualC/examples/renderer/05-rectangles/05-rectangles.vcxproj b/src/contrib/SDL-3.2.20/VisualC/examples/renderer/05-rectangles/05-rectangles.vcxproj new file mode 100644 index 0000000..8d4b33b --- /dev/null +++ b/src/contrib/SDL-3.2.20/VisualC/examples/renderer/05-rectangles/05-rectangles.vcxproj | |||
@@ -0,0 +1,13 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | <PropertyGroup Label="Globals"> | ||
4 | <ProjectGuid>{4C0E3A60-24F8-4D4C-81C0-C1777F5E7B17}</ProjectGuid> | ||
5 | </PropertyGroup> | ||
6 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
7 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
8 | <ItemGroup> | ||
9 | <None Include="$(SolutionDir)\..\examples\renderer\05-rectangles\README.txt" /> | ||
10 | <ClCompile Include="$(SolutionDir)\..\examples\renderer\05-rectangles\rectangles.c" /> | ||
11 | </ItemGroup> | ||
12 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
13 | </Project> \ No newline at end of file | ||
diff --git a/src/contrib/SDL-3.2.20/VisualC/examples/renderer/06-textures/06-textures.vcxproj b/src/contrib/SDL-3.2.20/VisualC/examples/renderer/06-textures/06-textures.vcxproj new file mode 100644 index 0000000..d99b62c --- /dev/null +++ b/src/contrib/SDL-3.2.20/VisualC/examples/renderer/06-textures/06-textures.vcxproj | |||
@@ -0,0 +1,14 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | <PropertyGroup Label="Globals"> | ||
4 | <ProjectGuid>{B3D61611-BFA3-4B66-ADC7-A3CE578A6D36}</ProjectGuid> | ||
5 | </PropertyGroup> | ||
6 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
7 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
8 | <ItemGroup> | ||
9 | <None Include="$(SolutionDir)\..\examples\renderer\06-textures\README.txt" /> | ||
10 | <ClCompile Include="$(SolutionDir)\..\examples\renderer\06-textures\textures.c" /> | ||
11 | <Content Include="$(SolutionDir)\..\test\sample.bmp" CopyToOutputDirectory="PreserveNewest" /> | ||
12 | </ItemGroup> | ||
13 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
14 | </Project> \ No newline at end of file | ||
diff --git a/src/contrib/SDL-3.2.20/VisualC/examples/renderer/07-streaming-textures/07-streaming-textures.vcxproj b/src/contrib/SDL-3.2.20/VisualC/examples/renderer/07-streaming-textures/07-streaming-textures.vcxproj new file mode 100644 index 0000000..0830c4f --- /dev/null +++ b/src/contrib/SDL-3.2.20/VisualC/examples/renderer/07-streaming-textures/07-streaming-textures.vcxproj | |||
@@ -0,0 +1,13 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | <PropertyGroup Label="Globals"> | ||
4 | <ProjectGuid>{540AE143-A58F-4D3B-B843-94EA8576522D}</ProjectGuid> | ||
5 | </PropertyGroup> | ||
6 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
7 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
8 | <ItemGroup> | ||
9 | <None Include="$(SolutionDir)\..\examples\renderer\07-streaming-textures\README.txt" /> | ||
10 | <ClCompile Include="$(SolutionDir)\..\examples\renderer\07-streaming-textures\streaming-textures.c" /> | ||
11 | </ItemGroup> | ||
12 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
13 | </Project> \ No newline at end of file | ||
diff --git a/src/contrib/SDL-3.2.20/VisualC/examples/renderer/08-rotating-textures/08-rotating-textures.vcxproj b/src/contrib/SDL-3.2.20/VisualC/examples/renderer/08-rotating-textures/08-rotating-textures.vcxproj new file mode 100644 index 0000000..5e14c6d --- /dev/null +++ b/src/contrib/SDL-3.2.20/VisualC/examples/renderer/08-rotating-textures/08-rotating-textures.vcxproj | |||
@@ -0,0 +1,14 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | <PropertyGroup Label="Globals"> | ||
4 | <ProjectGuid>{7091C001-3D71-47D4-B27B-E99271E5B987}</ProjectGuid> | ||
5 | </PropertyGroup> | ||
6 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
7 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
8 | <ItemGroup> | ||
9 | <None Include="$(SolutionDir)\..\examples\renderer\08-rotating-textures\README.txt" /> | ||
10 | <ClCompile Include="$(SolutionDir)\..\examples\renderer\08-rotating-textures\rotating-textures.c" /> | ||
11 | <Content Include="$(SolutionDir)\..\test\sample.bmp" CopyToOutputDirectory="PreserveNewest" /> | ||
12 | </ItemGroup> | ||
13 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
14 | </Project> \ No newline at end of file | ||
diff --git a/src/contrib/SDL-3.2.20/VisualC/examples/renderer/09-scaling-textures/09-scaling-textures.vcxproj b/src/contrib/SDL-3.2.20/VisualC/examples/renderer/09-scaling-textures/09-scaling-textures.vcxproj new file mode 100644 index 0000000..ada32f7 --- /dev/null +++ b/src/contrib/SDL-3.2.20/VisualC/examples/renderer/09-scaling-textures/09-scaling-textures.vcxproj | |||
@@ -0,0 +1,13 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | <PropertyGroup Label="Globals"> | ||
4 | <ProjectGuid>{AF8BC84E-0268-4D1F-9503-84D9EE84C65F}</ProjectGuid> | ||
5 | </PropertyGroup> | ||
6 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
7 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
8 | <ItemGroup> | ||
9 | <None Include="$(SolutionDir)\..\examples\renderer\09-scaling-textures\README.txt" /> | ||
10 | <ClCompile Include="$(SolutionDir)\..\examples\renderer\09-scaling-textures\scaling-textures.c" /> | ||
11 | </ItemGroup> | ||
12 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
13 | </Project> \ No newline at end of file | ||
diff --git a/src/contrib/SDL-3.2.20/VisualC/examples/renderer/10-geometry/10-geometry.vcxproj b/src/contrib/SDL-3.2.20/VisualC/examples/renderer/10-geometry/10-geometry.vcxproj new file mode 100644 index 0000000..6013514 --- /dev/null +++ b/src/contrib/SDL-3.2.20/VisualC/examples/renderer/10-geometry/10-geometry.vcxproj | |||
@@ -0,0 +1,14 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | <PropertyGroup Label="Globals"> | ||
4 | <ProjectGuid>{8B9AB23E-3F40-4145-BA1C-B2CEACFBBD72}</ProjectGuid> | ||
5 | </PropertyGroup> | ||
6 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
7 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
8 | <ItemGroup> | ||
9 | <None Include="$(SolutionDir)\..\examples\renderer\10-geometry\README.txt" /> | ||
10 | <ClCompile Include="$(SolutionDir)\..\examples\renderer\10-geometry\geometry.c" /> | ||
11 | <Content Include="$(SolutionDir)\..\test\sample.bmp" CopyToOutputDirectory="PreserveNewest" /> | ||
12 | </ItemGroup> | ||
13 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
14 | </Project> \ No newline at end of file | ||
diff --git a/src/contrib/SDL-3.2.20/VisualC/examples/renderer/11-color-mods/11-color-mods.vcxproj b/src/contrib/SDL-3.2.20/VisualC/examples/renderer/11-color-mods/11-color-mods.vcxproj new file mode 100644 index 0000000..c0af3e3 --- /dev/null +++ b/src/contrib/SDL-3.2.20/VisualC/examples/renderer/11-color-mods/11-color-mods.vcxproj | |||
@@ -0,0 +1,14 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | <PropertyGroup Label="Globals"> | ||
4 | <ProjectGuid>{E9C6A7A6-22C0-42E6-AC9C-8580A396D077}</ProjectGuid> | ||
5 | </PropertyGroup> | ||
6 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
7 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
8 | <ItemGroup> | ||
9 | <None Include="$(SolutionDir)\..\examples\renderer\11-color-mods\README.txt" /> | ||
10 | <ClCompile Include="$(SolutionDir)\..\examples\renderer\11-color-mods\color-mods.c" /> | ||
11 | <Content Include="$(SolutionDir)\..\test\sample.bmp" CopyToOutputDirectory="PreserveNewest" /> | ||
12 | </ItemGroup> | ||
13 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
14 | </Project> \ No newline at end of file | ||
diff --git a/src/contrib/SDL-3.2.20/VisualC/examples/renderer/14-viewport/14-viewport.vcxproj b/src/contrib/SDL-3.2.20/VisualC/examples/renderer/14-viewport/14-viewport.vcxproj new file mode 100644 index 0000000..1ebbda5 --- /dev/null +++ b/src/contrib/SDL-3.2.20/VisualC/examples/renderer/14-viewport/14-viewport.vcxproj | |||
@@ -0,0 +1,14 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | <PropertyGroup Label="Globals"> | ||
4 | <ProjectGuid>{B85BC466-C7F0-4C6D-8ECF-ED57E775FC73}</ProjectGuid> | ||
5 | </PropertyGroup> | ||
6 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
7 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
8 | <ItemGroup> | ||
9 | <None Include="$(SolutionDir)\..\examples\renderer\14-viewport\README.txt" /> | ||
10 | <ClCompile Include="$(SolutionDir)\..\examples\renderer\14-viewport\viewport.c" /> | ||
11 | <Content Include="$(SolutionDir)\..\test\sample.bmp" CopyToOutputDirectory="PreserveNewest" /> | ||
12 | </ItemGroup> | ||
13 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
14 | </Project> \ No newline at end of file | ||
diff --git a/src/contrib/SDL-3.2.20/VisualC/examples/renderer/15-cliprect/15-cliprect.vcxproj b/src/contrib/SDL-3.2.20/VisualC/examples/renderer/15-cliprect/15-cliprect.vcxproj new file mode 100644 index 0000000..dbb7ca6 --- /dev/null +++ b/src/contrib/SDL-3.2.20/VisualC/examples/renderer/15-cliprect/15-cliprect.vcxproj | |||
@@ -0,0 +1,14 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | <PropertyGroup Label="Globals"> | ||
4 | <ProjectGuid>{9DBD962F-EA4D-44E3-8E8E-31D7F060A2DC}</ProjectGuid> | ||
5 | </PropertyGroup> | ||
6 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
7 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
8 | <ItemGroup> | ||
9 | <None Include="$(SolutionDir)\..\examples\renderer\15-cliprect\README.txt" /> | ||
10 | <ClCompile Include="$(SolutionDir)\..\examples\renderer\15-cliprect\cliprect.c" /> | ||
11 | <Content Include="$(SolutionDir)\..\test\sample.bmp" CopyToOutputDirectory="PreserveNewest" /> | ||
12 | </ItemGroup> | ||
13 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
14 | </Project> \ No newline at end of file | ||
diff --git a/src/contrib/SDL-3.2.20/VisualC/examples/renderer/17-read-pixels/17-read-pixels.vcxproj b/src/contrib/SDL-3.2.20/VisualC/examples/renderer/17-read-pixels/17-read-pixels.vcxproj new file mode 100644 index 0000000..674462e --- /dev/null +++ b/src/contrib/SDL-3.2.20/VisualC/examples/renderer/17-read-pixels/17-read-pixels.vcxproj | |||
@@ -0,0 +1,14 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | <PropertyGroup Label="Globals"> | ||
4 | <ProjectGuid>{EEF00329-4598-4E34-B969-9DD4B0815E6C}</ProjectGuid> | ||
5 | </PropertyGroup> | ||
6 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
7 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
8 | <ItemGroup> | ||
9 | <None Include="$(SolutionDir)\..\examples\renderer\17-read-pixels\README.txt" /> | ||
10 | <ClCompile Include="$(SolutionDir)\..\examples\renderer\17-read-pixels\read-pixels.c" /> | ||
11 | <Content Include="$(SolutionDir)\..\test\sample.bmp" CopyToOutputDirectory="PreserveNewest" /> | ||
12 | </ItemGroup> | ||
13 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
14 | </Project> \ No newline at end of file | ||
diff --git a/src/contrib/SDL-3.2.20/VisualC/examples/renderer/18-debug-text/18-debug-text.vcxproj b/src/contrib/SDL-3.2.20/VisualC/examples/renderer/18-debug-text/18-debug-text.vcxproj new file mode 100644 index 0000000..98f1198 --- /dev/null +++ b/src/contrib/SDL-3.2.20/VisualC/examples/renderer/18-debug-text/18-debug-text.vcxproj | |||
@@ -0,0 +1,13 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | <PropertyGroup Label="Globals"> | ||
4 | <ProjectGuid>{CC0714AA-8A81-4E29-BEC5-2E4FBC50E7FE}</ProjectGuid> | ||
5 | </PropertyGroup> | ||
6 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
7 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
8 | <ItemGroup> | ||
9 | <None Include="$(SolutionDir)\..\examples\renderer\18-debug-text\README.txt" /> | ||
10 | <ClCompile Include="$(SolutionDir)\..\examples\renderer\18-debug-text\debug-text.c" /> | ||
11 | </ItemGroup> | ||
12 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
13 | </Project> \ No newline at end of file | ||