parent
1a004264f4
commit
821f3e674a
38
CMake/AppleInfo.plist
Normal file
38
CMake/AppleInfo.plist
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
|
<string>English</string>
|
||||||
|
<key>CFBundleExecutable</key>
|
||||||
|
<string>${APPLE_GUI_EXECUTABLE}</string>
|
||||||
|
<key>CFBundleGetInfoString</key>
|
||||||
|
<string>${APPLE_GUI_INFO_STRING}</string>
|
||||||
|
<key>CFBundleIconFile</key>
|
||||||
|
<string>${APPLE_GUI_ICON}</string>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>${APPLE_GUI_IDENTIFIER}</string>
|
||||||
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
|
<string>6.0</string>
|
||||||
|
<key>CFBundleLongVersionString</key>
|
||||||
|
<string>${APPLE_GUI_LONG_VERSION_STRING}</string>
|
||||||
|
<key>CFBundleName</key>
|
||||||
|
<string>${APPLE_GUI_BUNDLE_NAME}</string>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>APPL</string>
|
||||||
|
<key>CFBundleShortVersionString</key>
|
||||||
|
<string>${APPLE_GUI_SHORT_VERSION_STRING}</string>
|
||||||
|
<key>CFBundleSignature</key>
|
||||||
|
<string>????</string>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>${APPLE_GUI_BUNDLE_VERSION}</string>
|
||||||
|
<key>CSResourcesFileMapped</key>
|
||||||
|
<true/>
|
||||||
|
<key>LSRequiresCarbon</key>
|
||||||
|
<true/>
|
||||||
|
<key>NSHumanReadableCopyright</key>
|
||||||
|
<string>${APPLE_GUI_COPYRIGHT}</string>
|
||||||
|
<key>NSHighResolutionCapable</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
@ -66,6 +66,8 @@ GLFW bundles a number of dependencies in the `deps/` directory.
|
|||||||
- Removed support for LCC and Borland C++
|
- Removed support for LCC and Borland C++
|
||||||
- Bugfix: `glfwSetTime` silently accepted invalid values
|
- Bugfix: `glfwSetTime` silently accepted invalid values
|
||||||
- [WGL] Bugfix: The context flags debug bit was not set for OpenGL ES
|
- [WGL] Bugfix: The context flags debug bit was not set for OpenGL ES
|
||||||
|
- [Cocoa] Bugfix: `NSHighResolutionCapable` was not enabled for test and
|
||||||
|
example programs
|
||||||
- [Cocoa] Bugfix: `glfwSetWindowSize` did not change the video mode for full
|
- [Cocoa] Bugfix: `glfwSetWindowSize` did not change the video mode for full
|
||||||
screen windows
|
screen windows
|
||||||
- [X11] Added support for Cygwin-X
|
- [X11] Added support for Cygwin-X
|
||||||
|
@ -41,7 +41,9 @@ if (APPLE)
|
|||||||
set_target_properties(Wave PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME "Wave")
|
set_target_properties(Wave PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME "Wave")
|
||||||
|
|
||||||
set_target_properties(Boing Gears Heightmap Particles Simple SplitView Wave PROPERTIES
|
set_target_properties(Boing Gears Heightmap Particles Simple SplitView Wave PROPERTIES
|
||||||
FOLDER "GLFW3/Examples")
|
FOLDER "GLFW3/Examples"
|
||||||
|
MACOSX_BUNDLE_INFO_PLIST "${GLFW_SOURCE_DIR}/CMake/AppleInfo.plist")
|
||||||
|
|
||||||
else()
|
else()
|
||||||
# Set boring names for executables
|
# Set boring names for executables
|
||||||
add_executable(boing WIN32 boing.c)
|
add_executable(boing WIN32 boing.c)
|
||||||
|
@ -1617,6 +1617,13 @@ GLFWAPI void glfwWindowHint(int target, int hint);
|
|||||||
* The menu bar can be disabled with a
|
* The menu bar can be disabled with a
|
||||||
* [compile-time option](@ref compile_options_osx).
|
* [compile-time option](@ref compile_options_osx).
|
||||||
*
|
*
|
||||||
|
* @remarks __OS X:__ On OS X 10.10 and later the window frame will not be
|
||||||
|
* rendered at full resolution on Retina displays unless the
|
||||||
|
* `NSHighResolutionCapable` key is enabled in the application bundle's
|
||||||
|
* `Info.plist`. For more information, see
|
||||||
|
* [High Resolution Guidelines for OS X](https://developer.apple.com/library/mac/documentation/GraphicsAnimation/Conceptual/HighResolutionOSX/Explained/Explained.html)
|
||||||
|
* in the Mac Developer Library.
|
||||||
|
*
|
||||||
* @remarks __X11:__ There is no mechanism for setting the window icon yet.
|
* @remarks __X11:__ There is no mechanism for setting the window icon yet.
|
||||||
*
|
*
|
||||||
* @remarks __X11:__ Some window managers will not respect the placement of
|
* @remarks __X11:__ Some window managers will not respect the placement of
|
||||||
|
@ -76,6 +76,7 @@ endif()
|
|||||||
if (APPLE)
|
if (APPLE)
|
||||||
set_target_properties(${WINDOWS_BINARIES} ${CONSOLE_BINARIES} PROPERTIES
|
set_target_properties(${WINDOWS_BINARIES} ${CONSOLE_BINARIES} PROPERTIES
|
||||||
MACOSX_BUNDLE_SHORT_VERSION_STRING ${GLFW_VERSION}
|
MACOSX_BUNDLE_SHORT_VERSION_STRING ${GLFW_VERSION}
|
||||||
MACOSX_BUNDLE_LONG_VERSION_STRING ${GLFW_VERSION_FULL})
|
MACOSX_BUNDLE_LONG_VERSION_STRING ${GLFW_VERSION_FULL}
|
||||||
|
MACOSX_BUNDLE_INFO_PLIST "${GLFW_SOURCE_DIR}/CMake/AppleInfo.plist")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user