Under MacOSX, generate an Info.plist
parent
9638327932
commit
11dd911faf
|
@ -94,6 +94,13 @@ if(PLATFORM_LINUX)
|
|||
endif()
|
||||
endif(PLATFORM_LINUX)
|
||||
|
||||
if(PLATFORM_MACOSX)
|
||||
configure_file(Info.plist.cmake ${CMAKE_CURRENT_BINARY_DIR}/Info.plist)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/Info.plist
|
||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/Contents/
|
||||
)
|
||||
endif(PLATFORM_MACOSX)
|
||||
|
||||
if(PLATFORM_WINDOWS)
|
||||
set(COLOBOT_VERSION_4COMMAS "${COLOBOT_VERSION_MAJOR},${COLOBOT_VERSION_MINOR},${COLOBOT_VERSION_REVISION},0")
|
||||
configure_file(colobot.rc.cmake ${CMAKE_CURRENT_BINARY_DIR}/colobot.rc)
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>Colobot</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>colobot</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>Colobot</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>info.colobot.colobot</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>Colobot</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>cbot</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>@COLOBOT_VERSION_FULL@</string>
|
||||
</dict>
|
||||
</plist>
|
Loading…
Reference in New Issue