Skip to content

Commit f770ed7

Browse files
committed
Adding skeleton files.
1 parent aa42775 commit f770ed7

File tree

6 files changed

+79
-5
lines changed

6 files changed

+79
-5
lines changed

src/ftdi/abstract-ftd2xx-win32.cc

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/***************************************************************************
2+
* Copyright (C) 2019 PCSX-Redux authors *
3+
* *
4+
* This program is free software; you can redistribute it and/or modify *
5+
* it under the terms of the GNU General Public License as published by *
6+
* the Free Software Foundation; either version 2 of the License, or *
7+
* (at your option) any later version. *
8+
* *
9+
* This program is distributed in the hope that it will be useful, *
10+
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12+
* GNU General Public License for more details. *
13+
* *
14+
* You should have received a copy of the GNU General Public License *
15+
* along with this program; if not, write to the *
16+
* Free Software Foundation, Inc., *
17+
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. *
18+
***************************************************************************/
19+
20+
#include "ftdi/abstract.h"

src/ftdi/abstract.h

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/***************************************************************************
2+
* Copyright (C) 2020 PCSX-Redux authors *
3+
* *
4+
* This program is free software; you can redistribute it and/or modify *
5+
* it under the terms of the GNU General Public License as published by *
6+
* the Free Software Foundation; either version 2 of the License, or *
7+
* (at your option) any later version. *
8+
* *
9+
* This program is distributed in the hope that it will be useful, *
10+
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12+
* GNU General Public License for more details. *
13+
* *
14+
* You should have received a copy of the GNU General Public License *
15+
* along with this program; if not, write to the *
16+
* Free Software Foundation, Inc., *
17+
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. *
18+
***************************************************************************/
19+
20+
#pragma once

vsprojects/ftdi/ftdi.vcxproj

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,26 +26,26 @@
2626
</PropertyGroup>
2727
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
2828
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
29-
<ConfigurationType>Application</ConfigurationType>
29+
<ConfigurationType>StaticLibrary</ConfigurationType>
3030
<UseDebugLibraries>true</UseDebugLibraries>
3131
<PlatformToolset>v142</PlatformToolset>
3232
<CharacterSet>Unicode</CharacterSet>
3333
</PropertyGroup>
3434
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
35-
<ConfigurationType>Application</ConfigurationType>
35+
<ConfigurationType>StaticLibrary</ConfigurationType>
3636
<UseDebugLibraries>false</UseDebugLibraries>
3737
<PlatformToolset>v142</PlatformToolset>
3838
<WholeProgramOptimization>true</WholeProgramOptimization>
3939
<CharacterSet>Unicode</CharacterSet>
4040
</PropertyGroup>
4141
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
42-
<ConfigurationType>Application</ConfigurationType>
42+
<ConfigurationType>StaticLibrary</ConfigurationType>
4343
<UseDebugLibraries>true</UseDebugLibraries>
4444
<PlatformToolset>v142</PlatformToolset>
4545
<CharacterSet>Unicode</CharacterSet>
4646
</PropertyGroup>
4747
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
48-
<ConfigurationType>Application</ConfigurationType>
48+
<ConfigurationType>StaticLibrary</ConfigurationType>
4949
<UseDebugLibraries>false</UseDebugLibraries>
5050
<PlatformToolset>v142</PlatformToolset>
5151
<WholeProgramOptimization>true</WholeProgramOptimization>
@@ -87,6 +87,7 @@
8787
<SDLCheck>true</SDLCheck>
8888
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
8989
<ConformanceMode>true</ConformanceMode>
90+
<AdditionalIncludeDirectories>..\..\src</AdditionalIncludeDirectories>
9091
</ClCompile>
9192
<Link>
9293
<SubSystem>Console</SubSystem>
@@ -99,6 +100,7 @@
99100
<SDLCheck>true</SDLCheck>
100101
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
101102
<ConformanceMode>true</ConformanceMode>
103+
<AdditionalIncludeDirectories>..\..\src</AdditionalIncludeDirectories>
102104
</ClCompile>
103105
<Link>
104106
<SubSystem>Console</SubSystem>
@@ -113,6 +115,7 @@
113115
<SDLCheck>true</SDLCheck>
114116
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
115117
<ConformanceMode>true</ConformanceMode>
118+
<AdditionalIncludeDirectories>..\..\src</AdditionalIncludeDirectories>
116119
</ClCompile>
117120
<Link>
118121
<SubSystem>Console</SubSystem>
@@ -129,6 +132,7 @@
129132
<SDLCheck>true</SDLCheck>
130133
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
131134
<ConformanceMode>true</ConformanceMode>
135+
<AdditionalIncludeDirectories>..\..\src</AdditionalIncludeDirectories>
132136
</ClCompile>
133137
<Link>
134138
<SubSystem>Console</SubSystem>
@@ -140,6 +144,12 @@
140144
<ItemGroup>
141145
<None Include="packages.config" />
142146
</ItemGroup>
147+
<ItemGroup>
148+
<ClInclude Include="..\..\src\ftdi\abstract.h" />
149+
</ItemGroup>
150+
<ItemGroup>
151+
<ClCompile Include="..\..\src\ftdi\abstract-ftd2xx-win32.cc" />
152+
</ItemGroup>
143153
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
144154
<ImportGroup Label="ExtensionTargets">
145155
<Import Project="..\packages\ftd2xx.native.2.12.28\build\native\ftd2xx.native.targets" Condition="Exists('..\packages\ftd2xx.native.2.12.28\build\native\ftd2xx.native.targets')" />

vsprojects/ftdi/ftdi.vcxproj.filters

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,14 @@
1717
<ItemGroup>
1818
<None Include="packages.config" />
1919
</ItemGroup>
20+
<ItemGroup>
21+
<ClInclude Include="..\..\src\ftdi\abstract.h">
22+
<Filter>Header Files</Filter>
23+
</ClInclude>
24+
</ItemGroup>
25+
<ItemGroup>
26+
<ClCompile Include="..\..\src\ftdi\abstract-ftd2xx-win32.cc">
27+
<Filter>Source Files</Filter>
28+
</ClCompile>
29+
</ItemGroup>
2030
</Project>

vsprojects/pcsx-redux.sln

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ImGuiColorTextEdit", "ImGui
3737
EndProject
3838
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libuv", "libuv\libuv.vcxproj", "{4B88E4F6-56B3-4F66-BEE8-0A4A21937BEE}"
3939
EndProject
40+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ftdi", "ftdi\ftdi.vcxproj", "{832D8D53-3EE4-43D7-B5DF-48B249CE0709}"
41+
EndProject
4042
Global
4143
GlobalSection(SolutionConfigurationPlatforms) = preSolution
4244
Debug|x64 = Debug|x64
@@ -133,6 +135,14 @@ Global
133135
{4B88E4F6-56B3-4F66-BEE8-0A4A21937BEE}.Release|x64.Build.0 = Release|x64
134136
{4B88E4F6-56B3-4F66-BEE8-0A4A21937BEE}.Release|x86.ActiveCfg = Release|Win32
135137
{4B88E4F6-56B3-4F66-BEE8-0A4A21937BEE}.Release|x86.Build.0 = Release|Win32
138+
{832D8D53-3EE4-43D7-B5DF-48B249CE0709}.Debug|x64.ActiveCfg = Debug|x64
139+
{832D8D53-3EE4-43D7-B5DF-48B249CE0709}.Debug|x64.Build.0 = Debug|x64
140+
{832D8D53-3EE4-43D7-B5DF-48B249CE0709}.Debug|x86.ActiveCfg = Debug|Win32
141+
{832D8D53-3EE4-43D7-B5DF-48B249CE0709}.Debug|x86.Build.0 = Debug|Win32
142+
{832D8D53-3EE4-43D7-B5DF-48B249CE0709}.Release|x64.ActiveCfg = Release|x64
143+
{832D8D53-3EE4-43D7-B5DF-48B249CE0709}.Release|x64.Build.0 = Release|x64
144+
{832D8D53-3EE4-43D7-B5DF-48B249CE0709}.Release|x86.ActiveCfg = Release|Win32
145+
{832D8D53-3EE4-43D7-B5DF-48B249CE0709}.Release|x86.Build.0 = Release|Win32
136146
EndGlobalSection
137147
GlobalSection(SolutionProperties) = preSolution
138148
HideSolutionNode = FALSE
@@ -150,9 +160,10 @@ Global
150160
{BF968FD3-EF46-45AF-B74E-46A41A96276F} = {008A2872-432F-480B-828D-FF9AAA4846BC}
151161
{CBF9B825-F140-4A02-8A3F-059103D6CA90} = {64A05F50-3203-42CC-B632-09D6EE6EA856}
152162
{4B88E4F6-56B3-4F66-BEE8-0A4A21937BEE} = {64A05F50-3203-42CC-B632-09D6EE6EA856}
163+
{832D8D53-3EE4-43D7-B5DF-48B249CE0709} = {008A2872-432F-480B-828D-FF9AAA4846BC}
153164
EndGlobalSection
154165
GlobalSection(ExtensibilityGlobals) = postSolution
155-
SolutionGuid = {AC54A867-F976-4B3D-A6EF-F57EB764DCD4}
156166
SolutionGuid = {284E91C1-764E-441A-854D-CFD3623A6501}
167+
SolutionGuid = {AC54A867-F976-4B3D-A6EF-F57EB764DCD4}
157168
EndGlobalSection
158169
EndGlobal

vsprojects/pcsx-redux/pcsx-redux.vcxproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@
158158
<ProjectReference Include="..\core\core.vcxproj">
159159
<Project>{9372d878-f76c-418b-8e2a-8e9896ff575b}</Project>
160160
</ProjectReference>
161+
<ProjectReference Include="..\ftdi\ftdi.vcxproj">
162+
<Project>{832d8d53-3ee4-43d7-b5df-48b249ce0709}</Project>
163+
</ProjectReference>
161164
<ProjectReference Include="..\gui\gui.vcxproj">
162165
<Project>{6ec7fdf3-1418-40bd-8584-1eea34ac3e3e}</Project>
163166
</ProjectReference>

0 commit comments

Comments
 (0)