Skip to content

Commit 09ca7e8

Browse files
committed
Move libusb support into a shared location
1 parent cdae0d1 commit 09ca7e8

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
@@ -766,6 +766,7 @@
766766
<ClCompile Include="..\..\src\loadso\windows\SDL_sysloadso.c" />
767767
<ClCompile Include="..\..\src\locale\SDL_locale.c" />
768768
<ClCompile Include="..\..\src\locale\windows\SDL_syslocale.c" />
769+
<ClCompile Include="..\..\src\misc\SDL_libusb.c" />
769770
<ClCompile Include="..\..\src\misc\SDL_url.c" />
770771
<ClCompile Include="..\..\src\misc\windows\SDL_sysurl.c" />
771772
<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
@@ -99,6 +99,7 @@
9999
<ClCompile Include="..\..\src\loadso\windows\SDL_sysloadso.c" />
100100
<ClCompile Include="..\..\src\locale\SDL_locale.c" />
101101
<ClCompile Include="..\..\src\locale\windows\SDL_syslocale.c" />
102+
<ClCompile Include="..\..\src\misc\SDL_libusb.c" />
102103
<ClCompile Include="..\..\src\misc\SDL_url.c" />
103104
<ClCompile Include="..\..\src\misc\windows\SDL_sysurl.c" />
104105
<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
@@ -638,6 +638,7 @@
638638
<ClCompile Include="..\..\src\loadso\windows\SDL_sysloadso.c" />
639639
<ClCompile Include="..\..\src\locale\SDL_locale.c" />
640640
<ClCompile Include="..\..\src\locale\windows\SDL_syslocale.c" />
641+
<ClCompile Include="..\..\src\misc\SDL_libusb.c" />
641642
<ClCompile Include="..\..\src\misc\SDL_url.c" />
642643
<ClCompile Include="..\..\src\misc\windows\SDL_sysurl.c" />
643644
<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
@@ -522,6 +522,8 @@
522522
F3D60A8328C16A1900788A3A /* SDL_hidapi_wii.c in Sources */ = {isa = PBXBuildFile; fileRef = F3D60A8228C16A1800788A3A /* SDL_hidapi_wii.c */; };
523523
F3D8BDFC2D6D2C7000B22FA1 /* SDL_eventwatch_c.h in Headers */ = {isa = PBXBuildFile; fileRef = F3D8BDFB2D6D2C7000B22FA1 /* SDL_eventwatch_c.h */; };
524524
F3D8BDFD2D6D2C7000B22FA1 /* SDL_eventwatch.c in Sources */ = {isa = PBXBuildFile; fileRef = F3D8BDFA2D6D2C7000B22FA1 /* SDL_eventwatch.c */; };
525+
F3DC38C92E5FC60300CD73DE /* SDL_libusb.h in Headers */ = {isa = PBXBuildFile; fileRef = F3DC38C72E5FC60300CD73DE /* SDL_libusb.h */; };
526+
F3DC38CA2E5FC60300CD73DE /* SDL_libusb.c in Sources */ = {isa = PBXBuildFile; fileRef = F3DC38C82E5FC60300CD73DE /* SDL_libusb.c */; };
525527
F3DDCC562AFD42B600B0842B /* SDL_clipboard_c.h in Headers */ = {isa = PBXBuildFile; fileRef = F3DDCC4D2AFD42B500B0842B /* SDL_clipboard_c.h */; };
526528
F3DDCC5B2AFD42B600B0842B /* SDL_video_c.h in Headers */ = {isa = PBXBuildFile; fileRef = F3DDCC522AFD42B600B0842B /* SDL_video_c.h */; };
527529
F3DDCC5D2AFD42B600B0842B /* SDL_rect_impl.h in Headers */ = {isa = PBXBuildFile; fileRef = F3DDCC542AFD42B600B0842B /* SDL_rect_impl.h */; };
@@ -1101,6 +1103,8 @@
11011103
F3D60A8228C16A1800788A3A /* SDL_hidapi_wii.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_hidapi_wii.c; sourceTree = "<group>"; };
11021104
F3D8BDFA2D6D2C7000B22FA1 /* SDL_eventwatch.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = SDL_eventwatch.c; sourceTree = "<group>"; };
11031105
F3D8BDFB2D6D2C7000B22FA1 /* SDL_eventwatch_c.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SDL_eventwatch_c.h; sourceTree = "<group>"; };
1106+
F3DC38C72E5FC60300CD73DE /* SDL_libusb.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SDL_libusb.h; sourceTree = "<group>"; };
1107+
F3DC38C82E5FC60300CD73DE /* SDL_libusb.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = SDL_libusb.c; sourceTree = "<group>"; };
11041108
F3DDCC4D2AFD42B500B0842B /* SDL_clipboard_c.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_clipboard_c.h; sourceTree = "<group>"; };
11051109
F3DDCC522AFD42B600B0842B /* SDL_video_c.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_video_c.h; sourceTree = "<group>"; };
11061110
F3DDCC542AFD42B600B0842B /* SDL_rect_impl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_rect_impl.h; sourceTree = "<group>"; };
@@ -1414,6 +1418,8 @@
14141418
children = (
14151419
F3ADAB8C2576F08500A6B1D9 /* ios */,
14161420
5616CA48252BB285005D5928 /* macos */,
1421+
F3DC38C72E5FC60300CD73DE /* SDL_libusb.h */,
1422+
F3DC38C82E5FC60300CD73DE /* SDL_libusb.c */,
14171423
5616CA4A252BB2A6005D5928 /* SDL_sysurl.h */,
14181424
5616CA49252BB2A5005D5928 /* SDL_url.c */,
14191425
);
@@ -2750,6 +2756,7 @@
27502756
F3FA5A252B59ACE000FEAD97 /* yuv_rgb_common.h in Headers */,
27512757
F3FA5A1D2B59ACE000FEAD97 /* yuv_rgb_internal.h in Headers */,
27522758
F3D8BDFC2D6D2C7000B22FA1 /* SDL_eventwatch_c.h in Headers */,
2759+
F3DC38C92E5FC60300CD73DE /* SDL_libusb.h in Headers */,
27532760
F3FA5A242B59ACE000FEAD97 /* yuv_rgb_lsx.h in Headers */,
27542761
F3FA5A1E2B59ACE000FEAD97 /* yuv_rgb_lsx_func.h in Headers */,
27552762
F3FA5A1F2B59ACE000FEAD97 /* yuv_rgb_sse.h in Headers */,
@@ -3101,6 +3108,7 @@
31013108
0000481D255AF155B42C0000 /* SDL_sysfsops.c in Sources */,
31023109
0000494CC93F3E624D3C0000 /* SDL_systime.c in Sources */,
31033110
000095FA1BDE436CF3AF0000 /* SDL_time.c in Sources */,
3111+
F3DC38CA2E5FC60300CD73DE /* SDL_libusb.c in Sources */,
31043112
0000140640E77F73F1DF0000 /* SDL_dialog_utils.c in Sources */,
31053113
0000D5B526B85DE7AB1C0000 /* SDL_cocoapen.m in Sources */,
31063114
6312C66D2B42341400A7BB00 /* SDL_murmur3.c in Sources */,

0 commit comments

Comments
 (0)