Skip to content

Commit 507d31d

Browse files
committed
Move libusb support into a shared location
1 parent 45f9326 commit 507d31d

File tree

8 files changed

+277
-184
lines changed

8 files changed

+277
-184
lines changed

VisualC-GDK/SDL/SDL.vcxproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -765,6 +765,7 @@
765765
<ClCompile Include="..\..\src\loadso\windows\SDL_sysloadso.c" />
766766
<ClCompile Include="..\..\src\locale\SDL_locale.c" />
767767
<ClCompile Include="..\..\src\locale\windows\SDL_syslocale.c" />
768+
<ClCompile Include="..\..\src\misc\SDL_libusb.c" />
768769
<ClCompile Include="..\..\src\misc\SDL_url.c" />
769770
<ClCompile Include="..\..\src\misc\windows\SDL_sysurl.c" />
770771
<ClCompile Include="..\..\src\power\SDL_power.c" />

VisualC-GDK/SDL/SDL.vcxproj.filters

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@
9898
<ClCompile Include="..\..\src\loadso\windows\SDL_sysloadso.c" />
9999
<ClCompile Include="..\..\src\locale\SDL_locale.c" />
100100
<ClCompile Include="..\..\src\locale\windows\SDL_syslocale.c" />
101+
<ClCompile Include="..\..\src\misc\SDL_libusb.c" />
101102
<ClCompile Include="..\..\src\misc\SDL_url.c" />
102103
<ClCompile Include="..\..\src\misc\windows\SDL_sysurl.c" />
103104
<ClCompile Include="..\..\src\power\SDL_power.c" />

VisualC/SDL/SDL.vcxproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,7 @@
637637
<ClCompile Include="..\..\src\loadso\windows\SDL_sysloadso.c" />
638638
<ClCompile Include="..\..\src\locale\SDL_locale.c" />
639639
<ClCompile Include="..\..\src\locale\windows\SDL_syslocale.c" />
640+
<ClCompile Include="..\..\src\misc\SDL_libusb.c" />
640641
<ClCompile Include="..\..\src\misc\SDL_url.c" />
641642
<ClCompile Include="..\..\src\misc\windows\SDL_sysurl.c" />
642643
<ClCompile Include="..\..\src\power\SDL_power.c" />

VisualC/SDL/SDL.vcxproj.filters

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1137,6 +1137,9 @@
11371137
<ClCompile Include="..\..\src\loadso\windows\SDL_sysloadso.c">
11381138
<Filter>loadso\windows</Filter>
11391139
</ClCompile>
1140+
<ClCompile Include="..\..\src\misc\SDL_libusb.c">
1141+
<Filter>misc</Filter>
1142+
</ClCompile>
11401143
<ClCompile Include="..\..\src\misc\SDL_url.c">
11411144
<Filter>misc</Filter>
11421145
</ClCompile>

Xcode/SDL/SDL.xcodeproj/project.pbxproj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,8 @@
521521
F3D60A8328C16A1900788A3A /* SDL_hidapi_wii.c in Sources */ = {isa = PBXBuildFile; fileRef = F3D60A8228C16A1800788A3A /* SDL_hidapi_wii.c */; };
522522
F3D8BDFC2D6D2C7000B22FA1 /* SDL_eventwatch_c.h in Headers */ = {isa = PBXBuildFile; fileRef = F3D8BDFB2D6D2C7000B22FA1 /* SDL_eventwatch_c.h */; };
523523
F3D8BDFD2D6D2C7000B22FA1 /* SDL_eventwatch.c in Sources */ = {isa = PBXBuildFile; fileRef = F3D8BDFA2D6D2C7000B22FA1 /* SDL_eventwatch.c */; };
524+
F3DC38C92E5FC60300CD73DE /* SDL_libusb.h in Headers */ = {isa = PBXBuildFile; fileRef = F3DC38C72E5FC60300CD73DE /* SDL_libusb.h */; };
525+
F3DC38CA2E5FC60300CD73DE /* SDL_libusb.c in Sources */ = {isa = PBXBuildFile; fileRef = F3DC38C82E5FC60300CD73DE /* SDL_libusb.c */; };
524526
F3DDCC562AFD42B600B0842B /* SDL_clipboard_c.h in Headers */ = {isa = PBXBuildFile; fileRef = F3DDCC4D2AFD42B500B0842B /* SDL_clipboard_c.h */; };
525527
F3DDCC5B2AFD42B600B0842B /* SDL_video_c.h in Headers */ = {isa = PBXBuildFile; fileRef = F3DDCC522AFD42B600B0842B /* SDL_video_c.h */; };
526528
F3DDCC5D2AFD42B600B0842B /* SDL_rect_impl.h in Headers */ = {isa = PBXBuildFile; fileRef = F3DDCC542AFD42B600B0842B /* SDL_rect_impl.h */; };
@@ -1099,6 +1101,8 @@
10991101
F3D60A8228C16A1800788A3A /* SDL_hidapi_wii.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_hidapi_wii.c; sourceTree = "<group>"; };
11001102
F3D8BDFA2D6D2C7000B22FA1 /* SDL_eventwatch.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = SDL_eventwatch.c; sourceTree = "<group>"; };
11011103
F3D8BDFB2D6D2C7000B22FA1 /* SDL_eventwatch_c.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SDL_eventwatch_c.h; sourceTree = "<group>"; };
1104+
F3DC38C72E5FC60300CD73DE /* SDL_libusb.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SDL_libusb.h; sourceTree = "<group>"; };
1105+
F3DC38C82E5FC60300CD73DE /* SDL_libusb.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = SDL_libusb.c; sourceTree = "<group>"; };
11021106
F3DDCC4D2AFD42B500B0842B /* SDL_clipboard_c.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_clipboard_c.h; sourceTree = "<group>"; };
11031107
F3DDCC522AFD42B600B0842B /* SDL_video_c.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_video_c.h; sourceTree = "<group>"; };
11041108
F3DDCC542AFD42B600B0842B /* SDL_rect_impl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_rect_impl.h; sourceTree = "<group>"; };
@@ -1412,6 +1416,8 @@
14121416
children = (
14131417
F3ADAB8C2576F08500A6B1D9 /* ios */,
14141418
5616CA48252BB285005D5928 /* macos */,
1419+
F3DC38C72E5FC60300CD73DE /* SDL_libusb.h */,
1420+
F3DC38C82E5FC60300CD73DE /* SDL_libusb.c */,
14151421
5616CA4A252BB2A6005D5928 /* SDL_sysurl.h */,
14161422
5616CA49252BB2A5005D5928 /* SDL_url.c */,
14171423
);
@@ -2747,6 +2753,7 @@
27472753
F3FA5A252B59ACE000FEAD97 /* yuv_rgb_common.h in Headers */,
27482754
F3FA5A1D2B59ACE000FEAD97 /* yuv_rgb_internal.h in Headers */,
27492755
F3D8BDFC2D6D2C7000B22FA1 /* SDL_eventwatch_c.h in Headers */,
2756+
F3DC38C92E5FC60300CD73DE /* SDL_libusb.h in Headers */,
27502757
F3FA5A242B59ACE000FEAD97 /* yuv_rgb_lsx.h in Headers */,
27512758
F3FA5A1E2B59ACE000FEAD97 /* yuv_rgb_lsx_func.h in Headers */,
27522759
F3FA5A1F2B59ACE000FEAD97 /* yuv_rgb_sse.h in Headers */,
@@ -3097,6 +3104,7 @@
30973104
0000481D255AF155B42C0000 /* SDL_sysfsops.c in Sources */,
30983105
0000494CC93F3E624D3C0000 /* SDL_systime.c in Sources */,
30993106
000095FA1BDE436CF3AF0000 /* SDL_time.c in Sources */,
3107+
F3DC38CA2E5FC60300CD73DE /* SDL_libusb.c in Sources */,
31003108
0000140640E77F73F1DF0000 /* SDL_dialog_utils.c in Sources */,
31013109
0000D5B526B85DE7AB1C0000 /* SDL_cocoapen.m in Sources */,
31023110
6312C66D2B42341400A7BB00 /* SDL_murmur3.c in Sources */,

0 commit comments

Comments
 (0)