summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Pierre de La Morinerie2015-09-11 22:06:19 +0200
committerGravatar Pierre de La Morinerie2015-10-04 23:11:05 +0200
commit513483f8d59912fc4be6eb8f4765348bbfc17f9f (patch)
tree411c4d215d155091a50e64ae1bc8e4e34e1ae154 /src
parentOS X build uploading: auto-confirm SSH host key (diff)
downloadyuzu-513483f8d59912fc4be6eb8f4765348bbfc17f9f.tar.gz
yuzu-513483f8d59912fc4be6eb8f4765348bbfc17f9f.tar.xz
yuzu-513483f8d59912fc4be6eb8f4765348bbfc17f9f.zip
citra-qt: Use custom Info.plist for Mac builds
Instead of letting CMake re-generate an automatic Info.plist file on every build, use our own. This allows greater control on the application bundle settings.
Diffstat (limited to 'src')
-rw-r--r--src/citra_qt/CMakeLists.txt2
-rw-r--r--src/citra_qt/Info.plist36
2 files changed, 38 insertions, 0 deletions
diff --git a/src/citra_qt/CMakeLists.txt b/src/citra_qt/CMakeLists.txt
index 51a574629..747ad5519 100644
--- a/src/citra_qt/CMakeLists.txt
+++ b/src/citra_qt/CMakeLists.txt
@@ -24,6 +24,7 @@ set(SRCS
24 hotkeys.cpp 24 hotkeys.cpp
25 main.cpp 25 main.cpp
26 citra-qt.rc 26 citra-qt.rc
27 Info.plist
27 ) 28 )
28 29
29set(HEADERS 30set(HEADERS
@@ -72,6 +73,7 @@ endif()
72 73
73if (APPLE) 74if (APPLE)
74 add_executable(citra-qt MACOSX_BUNDLE ${SRCS} ${HEADERS} ${UI_HDRS}) 75 add_executable(citra-qt MACOSX_BUNDLE ${SRCS} ${HEADERS} ${UI_HDRS})
76 set_target_properties(citra-qt PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist)
75else() 77else()
76 add_executable(citra-qt ${SRCS} ${HEADERS} ${UI_HDRS}) 78 add_executable(citra-qt ${SRCS} ${HEADERS} ${UI_HDRS})
77endif() 79endif()
diff --git a/src/citra_qt/Info.plist b/src/citra_qt/Info.plist
new file mode 100644
index 000000000..0e5f092e5
--- /dev/null
+++ b/src/citra_qt/Info.plist
@@ -0,0 +1,36 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3<plist version="1.0">
4<dict>
5 <key>CFBundleDevelopmentRegion</key>
6 <string>English</string>
7 <key>CFBundleExecutable</key>
8 <string>$(EXECUTABLE_NAME)</string>
9 <key>CFBundleGetInfoString</key>
10 <string></string>
11 <key>CFBundleIconFile</key>
12 <string>citra.icns</string>
13 <key>CFBundleIdentifier</key>
14 <string>com.citra-emu.citra</string>
15 <key>CFBundleInfoDictionaryVersion</key>
16 <string>6.0</string>
17 <key>CFBundleLongVersionString</key>
18 <string></string>
19 <key>CFBundleName</key>
20 <string>Citra</string>
21 <key>CFBundlePackageType</key>
22 <string>APPL</string>
23 <key>CFBundleShortVersionString</key>
24 <string></string>
25 <key>CFBundleSignature</key>
26 <string>????</string>
27 <key>CFBundleVersion</key>
28 <string></string>
29 <key>CSResourcesFileMapped</key>
30 <true/>
31 <key>LSRequiresCarbon</key>
32 <true/>
33 <key>NSHumanReadableCopyright</key>
34 <string></string>
35</dict>
36</plist>