project_files/HedgewarsMobile/Info.plist
author Simon McVittie <smcv@debian.org>
Mon, 12 Sep 2022 10:40:53 -0400
branch1.0.0
changeset 15859 7b1d6dfa3173
parent 13241 fc98ea64e0ef
permissions -rw-r--r--
Remove FindSDL2 find-module, use sdl2-config.cmake instead This requires SDL >= 2.0.4. Since <https://bugzilla.libsdl.org/show_bug.cgi?id=2464> was fixed in SDL 2.0.4, SDL behaves as a CMake "config-file package", even if it was not itself built using CMake: it installs a sdl2-config.cmake file to ${libdir}/cmake/SDL2, which tells CMake where to find SDL's headers and library, analogous to a pkg-config .pc file. As a result, we no longer need to copy/paste a "find-module package" to be able to find a system copy of SDL >= 2.0.4 with find_package(SDL2). Find-module packages are now discouraged by the CMake developers, in favour of having upstream projects behave as config-file packages. This results in a small API change: FindSDL2 used to set SDL2_INCLUDE_DIR and SDL2_LIBRARY, but the standard behaviour for config-file packages is to set <name>_INCLUDE_DIRS and <name>_LIBRARIES. Use the CONFIG keyword to make sure we search in config-file package mode, and will not find a FindSDL2.cmake in some other directory that implements the old interface. In addition to deleting redundant code, this avoids some assumptions in FindSDL2 about the layout of a SDL installation. The current libsdl2-dev package in Debian breaks those assumptions; this is considered a bug and will hopefully be fixed soon, but it illustrates how fragile these assumptions can be. We can be more robust against different installation layouts by relying on SDL's own CMake integration. When linking to a copy of CMake in a non-standard location, users can now set the SDL2_DIR or CMAKE_PREFIX_PATH environment variable to point to it; previously, these users would have used the SDL2DIR environment variable. This continues to be unnecessary if using matching system-wide installations of CMake and SDL2, for example both from Debian.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2980
3cbd5a39aaee add the HedgewarsMobile project file to source control
koda
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
3cbd5a39aaee add the HedgewarsMobile project file to source control
koda
parents:
diff changeset
     2
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3cbd5a39aaee add the HedgewarsMobile project file to source control
koda
parents:
diff changeset
     3
<plist version="1.0">
3cbd5a39aaee add the HedgewarsMobile project file to source control
koda
parents:
diff changeset
     4
<dict>
3356
3ae3fccb439e add missing controller stubs
koda
parents: 3317
diff changeset
     5
	<key>CFBundleDevelopmentRegion</key>
13238
1f76335d0900 - Use two-letter language descriptor for localisations
antonc27 <antonc27@mail.ru>
parents: 12434
diff changeset
     6
	<string>en</string>
3356
3ae3fccb439e add missing controller stubs
koda
parents: 3317
diff changeset
     7
	<key>CFBundleDisplayName</key>
2980
3cbd5a39aaee add the HedgewarsMobile project file to source control
koda
parents:
diff changeset
     8
	<string>${PRODUCT_NAME}</string>
3356
3ae3fccb439e add missing controller stubs
koda
parents: 3317
diff changeset
     9
	<key>CFBundleExecutable</key>
3ae3fccb439e add missing controller stubs
koda
parents: 3317
diff changeset
    10
	<string>${EXECUTABLE_NAME}</string>
3ae3fccb439e add missing controller stubs
koda
parents: 3317
diff changeset
    11
	<key>CFBundleIdentifier</key>
11313
4701700276f5 - 'iOS Deployment Target' bump to 8.0
antonc27 <antonc27@mail.ru>
parents: 11260
diff changeset
    12
	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
3356
3ae3fccb439e add missing controller stubs
koda
parents: 3317
diff changeset
    13
	<key>CFBundleInfoDictionaryVersion</key>
3ae3fccb439e add missing controller stubs
koda
parents: 3317
diff changeset
    14
	<string>6.0</string>
3ae3fccb439e add missing controller stubs
koda
parents: 3317
diff changeset
    15
	<key>CFBundleName</key>
2980
3cbd5a39aaee add the HedgewarsMobile project file to source control
koda
parents:
diff changeset
    16
	<string>${PRODUCT_NAME}</string>
3cbd5a39aaee add the HedgewarsMobile project file to source control
koda
parents:
diff changeset
    17
	<key>CFBundlePackageType</key>
3cbd5a39aaee add the HedgewarsMobile project file to source control
koda
parents:
diff changeset
    18
	<string>APPL</string>
11142
737ba45f533a - Version bump to 2.0
antonc27 <antonc27@mail.ru>
parents: 7968
diff changeset
    19
	<key>CFBundleShortVersionString</key>
12434
14f6ce8fa8a7 - Bump iOS version
antonc27 <antonc27@mail.ru>
parents: 11313
diff changeset
    20
	<string>2.1</string>
2980
3cbd5a39aaee add the HedgewarsMobile project file to source control
koda
parents:
diff changeset
    21
	<key>CFBundleSignature</key>
3cbd5a39aaee add the HedgewarsMobile project file to source control
koda
parents:
diff changeset
    22
	<string>????</string>
3cbd5a39aaee add the HedgewarsMobile project file to source control
koda
parents:
diff changeset
    23
	<key>CFBundleVersion</key>
7968
be4503361ead ios: fill in CFBundleVersion and CFBundleShortVersionString information better
koda
parents: 6612
diff changeset
    24
	<string>${HEDGEWARS_REVISION}</string>
2980
3cbd5a39aaee add the HedgewarsMobile project file to source control
koda
parents:
diff changeset
    25
	<key>LSRequiresIPhoneOS</key>
3cbd5a39aaee add the HedgewarsMobile project file to source control
koda
parents:
diff changeset
    26
	<true/>
13241
fc98ea64e0ef - Migrate AppIcons to xcassets
antonc27 <antonc27@mail.ru>
parents: 13238
diff changeset
    27
	<key>UILaunchStoryboardName</key>
fc98ea64e0ef - Migrate AppIcons to xcassets
antonc27 <antonc27@mail.ru>
parents: 13238
diff changeset
    28
	<string>LaunchScreen</string>
5976
306cedbeb213 fixed several 'retina display' images and added a bunch more (though just from upscaling the normal ones; might be nice to have 'em redrawn at a real higher resolution)
koda
parents: 5707
diff changeset
    29
	<key>UIPrerenderedIcon</key>
306cedbeb213 fixed several 'retina display' images and added a bunch more (though just from upscaling the normal ones; might be nice to have 'em redrawn at a real higher resolution)
koda
parents: 5707
diff changeset
    30
	<true/>
11260
1568f9eff980 - Set iPad version to require fullscreen
antonc27 <antonc27@mail.ru>
parents: 11144
diff changeset
    31
	<key>UIRequiresFullScreen</key>
1568f9eff980 - Set iPad version to require fullscreen
antonc27 <antonc27@mail.ru>
parents: 11144
diff changeset
    32
	<true/>
5976
306cedbeb213 fixed several 'retina display' images and added a bunch more (though just from upscaling the normal ones; might be nice to have 'em redrawn at a real higher resolution)
koda
parents: 5707
diff changeset
    33
	<key>UIStatusBarHidden</key>
306cedbeb213 fixed several 'retina display' images and added a bunch more (though just from upscaling the normal ones; might be nice to have 'em redrawn at a real higher resolution)
koda
parents: 5707
diff changeset
    34
	<true/>
6612
8fd6bb239a1e starting to convert the ipad interface to support all ortientations...
koda
parents: 5987
diff changeset
    35
	<key>UISupportedInterfaceOrientations~ipad</key>
8fd6bb239a1e starting to convert the ipad interface to support all ortientations...
koda
parents: 5987
diff changeset
    36
	<array>
8fd6bb239a1e starting to convert the ipad interface to support all ortientations...
koda
parents: 5987
diff changeset
    37
		<string>UIInterfaceOrientationPortrait</string>
8fd6bb239a1e starting to convert the ipad interface to support all ortientations...
koda
parents: 5987
diff changeset
    38
		<string>UIInterfaceOrientationPortraitUpsideDown</string>
8fd6bb239a1e starting to convert the ipad interface to support all ortientations...
koda
parents: 5987
diff changeset
    39
		<string>UIInterfaceOrientationLandscapeLeft</string>
8fd6bb239a1e starting to convert the ipad interface to support all ortientations...
koda
parents: 5987
diff changeset
    40
		<string>UIInterfaceOrientationLandscapeRight</string>
8fd6bb239a1e starting to convert the ipad interface to support all ortientations...
koda
parents: 5987
diff changeset
    41
	</array>
11143
8c99fde7a594 - arm64 added as valid arch
antonc27 <antonc27@mail.ru>
parents: 11142
diff changeset
    42
	<key>UISupportedInterfaceOrientations~iphone</key>
8c99fde7a594 - arm64 added as valid arch
antonc27 <antonc27@mail.ru>
parents: 11142
diff changeset
    43
	<array>
8c99fde7a594 - arm64 added as valid arch
antonc27 <antonc27@mail.ru>
parents: 11142
diff changeset
    44
		<string>UIInterfaceOrientationLandscapeLeft</string>
8c99fde7a594 - arm64 added as valid arch
antonc27 <antonc27@mail.ru>
parents: 11142
diff changeset
    45
		<string>UIInterfaceOrientationLandscapeRight</string>
8c99fde7a594 - arm64 added as valid arch
antonc27 <antonc27@mail.ru>
parents: 11142
diff changeset
    46
	</array>
2980
3cbd5a39aaee add the HedgewarsMobile project file to source control
koda
parents:
diff changeset
    47
</dict>
3cbd5a39aaee add the HedgewarsMobile project file to source control
koda
parents:
diff changeset
    48
</plist>