all repos — mgba @ 64d27eb3348700bf894cfc775cde2d9fc1313146

mGBA Game Boy Advance Emulator

Qt: Improved versioning information
Jeffrey Pfau jeffrey@endrift.com
Wed, 17 Dec 2014 21:25:43 -0800
commit

64d27eb3348700bf894cfc775cde2d9fc1313146

parent

36c5c9298966bb5b76cd26eb9da02f824fb3330f

2 files changed, 3 insertions(+), 1 deletions(-)

jump to
M res/info.plist.inres/info.plist.in

@@ -22,6 +22,8 @@ <key>CFBundleSignature</key>

<string>????</string> <key>CFBundleVersion</key> <string>${MACOSX_BUNDLE_BUNDLE_VERSION}</string> + <key>CFBundleShortVersionString</key> + <string>${MACOSX_BUNDLE_BUNDLE_VERSION}</string> <key>CSResourcesFileMapped</key> <true/> <key>NSHighResolutionCapable</key>
M src/platform/qt/CMakeLists.txtsrc/platform/qt/CMakeLists.txt

@@ -84,7 +84,7 @@ if(WIN32)

list(APPEND RESOURCES ${CMAKE_SOURCE_DIR}/res/mgba.rc) endif() add_executable(${BINARY_NAME}-qt WIN32 MACOSX_BUNDLE main.cpp ${CMAKE_SOURCE_DIR}/res/mgba.icns ${SOURCE_FILES} ${PLATFORM_SRC} ${UI_FILES} ${RESOURCES}) -set_target_properties(${BINARY_NAME}-qt PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_SOURCE_DIR}/res/info.plist.in) +set_target_properties(${BINARY_NAME}-qt PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_SOURCE_DIR}/res/info.plist.in VERSION ${LIB_VERSION_STRING}) list(APPEND QT_LIBRARIES Qt5::Widgets Qt5::OpenGL) target_link_libraries(${BINARY_NAME}-qt ${PLATFORM_LIBRARY} ${OPENGL_LIBRARY} ${BINARY_NAME} ${QT_LIBRARIES})