all repos — mgba @ 0ae81e6e8fbb1e1fff888c01c3f0c44d1ebfa841

mGBA Game Boy Advance Emulator

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

0ae81e6e8fbb1e1fff888c01c3f0c44d1ebfa841

parent

3d21ce1fd0751c7ebd00f8504f328b68ff780c8c

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})