Fixed building on tvOS without any sensor support
authorSam Lantinga <slouken@libsdl.org>
Mon, 10 Sep 2018 22:59:49 -0700
changeset 12182c0d45b4dcfc9
parent 12181 70224e91e883
child 12183 364f514f94d8
Fixed building on tvOS without any sensor support
Xcode-iOS/SDL/SDL.xcodeproj/project.pbxproj
     1.1 --- a/Xcode-iOS/SDL/SDL.xcodeproj/project.pbxproj	Fri Sep 07 11:03:24 2018 +0300
     1.2 +++ b/Xcode-iOS/SDL/SDL.xcodeproj/project.pbxproj	Mon Sep 10 22:59:49 2018 -0700
     1.3 @@ -208,6 +208,9 @@
     1.4  		F30D9CA7212CD0BF0047DF2E /* SDL_coremotionsensor.h in Headers */ = {isa = PBXBuildFile; fileRef = F30D9CA4212CD0BF0047DF2E /* SDL_coremotionsensor.h */; };
     1.5  		F30D9CC6212CE92C0047DF2E /* hid.m in Sources */ = {isa = PBXBuildFile; fileRef = F30D9CC5212CE92C0047DF2E /* hid.m */; };
     1.6  		F30D9CC7212CE92C0047DF2E /* hid.m in Sources */ = {isa = PBXBuildFile; fileRef = F30D9CC5212CE92C0047DF2E /* hid.m */; };
     1.7 +		F36839CC214790950000F255 /* SDL_dummysensor.h in Headers */ = {isa = PBXBuildFile; fileRef = F36839CA214790950000F255 /* SDL_dummysensor.h */; };
     1.8 +		F36839CD214790950000F255 /* SDL_dummysensor.c in Sources */ = {isa = PBXBuildFile; fileRef = F36839CB214790950000F255 /* SDL_dummysensor.c */; };
     1.9 +		F36839CE214790950000F255 /* SDL_dummysensor.c in Sources */ = {isa = PBXBuildFile; fileRef = F36839CB214790950000F255 /* SDL_dummysensor.c */; };
    1.10  		F3BDD79220F51CB8004ECBF3 /* SDL_hidapi_xbox360.c in Sources */ = {isa = PBXBuildFile; fileRef = F3BDD78B20F51CB8004ECBF3 /* SDL_hidapi_xbox360.c */; };
    1.11  		F3BDD79320F51CB8004ECBF3 /* SDL_hidapi_xbox360.c in Sources */ = {isa = PBXBuildFile; fileRef = F3BDD78B20F51CB8004ECBF3 /* SDL_hidapi_xbox360.c */; };
    1.12  		F3BDD79420F51CB8004ECBF3 /* SDL_hidapi_switch.c in Sources */ = {isa = PBXBuildFile; fileRef = F3BDD78C20F51CB8004ECBF3 /* SDL_hidapi_switch.c */; };
    1.13 @@ -542,6 +545,8 @@
    1.14  		F30D9CA3212CD0BF0047DF2E /* SDL_coremotionsensor.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDL_coremotionsensor.m; sourceTree = "<group>"; };
    1.15  		F30D9CA4212CD0BF0047DF2E /* SDL_coremotionsensor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_coremotionsensor.h; sourceTree = "<group>"; };
    1.16  		F30D9CC5212CE92C0047DF2E /* hid.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = hid.m; sourceTree = "<group>"; };
    1.17 +		F36839CA214790950000F255 /* SDL_dummysensor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_dummysensor.h; sourceTree = "<group>"; };
    1.18 +		F36839CB214790950000F255 /* SDL_dummysensor.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_dummysensor.c; sourceTree = "<group>"; };
    1.19  		F3BDD78B20F51CB8004ECBF3 /* SDL_hidapi_xbox360.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_hidapi_xbox360.c; sourceTree = "<group>"; };
    1.20  		F3BDD78C20F51CB8004ECBF3 /* SDL_hidapi_switch.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_hidapi_switch.c; sourceTree = "<group>"; };
    1.21  		F3BDD78D20F51CB8004ECBF3 /* SDL_hidapi_xboxone.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_hidapi_xboxone.c; sourceTree = "<group>"; };
    1.22 @@ -838,6 +843,7 @@
    1.23  			isa = PBXGroup;
    1.24  			children = (
    1.25  				F30D9CA2212CD09E0047DF2E /* coremotion */,
    1.26 +				F36839C9214790740000F255 /* dummy */,
    1.27  				F30D9C9B212CD0980047DF2E /* SDL_sensor_c.h */,
    1.28  				F30D9C9D212CD0990047DF2E /* SDL_sensor.c */,
    1.29  				F30D9C9C212CD0990047DF2E /* SDL_syssensor.h */,
    1.30 @@ -862,6 +868,15 @@
    1.31  			path = hidapi;
    1.32  			sourceTree = "<group>";
    1.33  		};
    1.34 +		F36839C9214790740000F255 /* dummy */ = {
    1.35 +			isa = PBXGroup;
    1.36 +			children = (
    1.37 +				F36839CB214790950000F255 /* SDL_dummysensor.c */,
    1.38 +				F36839CA214790950000F255 /* SDL_dummysensor.h */,
    1.39 +			);
    1.40 +			path = dummy;
    1.41 +			sourceTree = "<group>";
    1.42 +		};
    1.43  		F3BDD77420F51C18004ECBF3 /* ios */ = {
    1.44  			isa = PBXGroup;
    1.45  			children = (
    1.46 @@ -1370,6 +1385,7 @@
    1.47  				AA9FF9511637C6E5000DF050 /* SDL_messagebox.h in Headers */,
    1.48  				AABCC3941640643D00AB8930 /* SDL_uikitmessagebox.h in Headers */,
    1.49  				AA0AD06516647BD400CE5896 /* SDL_gamecontroller.h in Headers */,
    1.50 +				F36839CC214790950000F255 /* SDL_dummysensor.h in Headers */,
    1.51  				AADA5B8F16CCAB7C00107CF7 /* SDL_bits.h in Headers */,
    1.52  				56C181DF17C44D5E00406AE3 /* SDL_filesystem.h in Headers */,
    1.53  			);
    1.54 @@ -1565,6 +1581,7 @@
    1.55  				FAB598731BB5C31600BE72C5 /* SDL_iconv.c in Sources */,
    1.56  				FAB598741BB5C31600BE72C5 /* SDL_malloc.c in Sources */,
    1.57  				FAB598751BB5C31600BE72C5 /* SDL_qsort.c in Sources */,
    1.58 +				F36839CE214790950000F255 /* SDL_dummysensor.c in Sources */,
    1.59  				A7C19D2B212E552C00DF2152 /* SDL_displayevents.c in Sources */,
    1.60  				FAB598761BB5C31600BE72C5 /* SDL_stdlib.c in Sources */,
    1.61  				FAB598771BB5C31600BE72C5 /* SDL_string.c in Sources */,
    1.62 @@ -1720,6 +1737,7 @@
    1.63  				0442EC5512FE1C3F004C9285 /* SDL_hints.c in Sources */,
    1.64  				AA13B34A1FB8B27800D9FEE6 /* SDL_shape.c in Sources */,
    1.65  				0402A85812FE70C600CECEE3 /* SDL_render_gles2.c in Sources */,
    1.66 +				F36839CD214790950000F255 /* SDL_dummysensor.c in Sources */,
    1.67  				0402A85912FE70C600CECEE3 /* SDL_shaders_gles2.c in Sources */,
    1.68  				04BAC09D1300C1290055DE28 /* SDL_log.c in Sources */,
    1.69  				56EA86FB13E9EC2B002E47EB /* SDL_coreaudio.m in Sources */,