[Cmake-commits] CMake branch, master, updated. v3.9.1-542-g86a5b97

Kitware Robot kwrobot at kitware.com
Tue Aug 22 08:25:04 EDT 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, master has been updated
       via  86a5b97fe81308df64fe85ee899a5eb66c894afc (commit)
       via  d3d0191dcd39b66d9f7b4f016d347aad0fdf09bb (commit)
       via  286c75f7f034c5fdcd43bcb755da74d09c809642 (commit)
       via  23cf9e152f097b18f345e17b26063fa4d38e2267 (commit)
       via  b45d8432c2d710eef0bc236a983b0fad4616ed5c (commit)
      from  2d41ec5036e94f2cffda4875b616020372a406a2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=86a5b97fe81308df64fe85ee899a5eb66c894afc
commit 86a5b97fe81308df64fe85ee899a5eb66c894afc
Merge: d3d0191 23cf9e1
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Tue Aug 22 12:24:05 2017 +0000
Commit:     Kitware Robot <kwrobot at kitware.com>
CommitDate: Tue Aug 22 08:24:14 2017 -0400

    Merge topic 'InstallRequiredSystemLibraries-vs15.3'
    
    23cf9e15 InstallRequiredSystemLibraries: Find VS 2017 Update 3 redist directory
    b45d8432 InstallRequiredSystemLibraries: Factor redist name into variable
    
    Acked-by: Kitware Robot <kwrobot at kitware.com>
    Merge-request: !1168


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d3d0191dcd39b66d9f7b4f016d347aad0fdf09bb
commit d3d0191dcd39b66d9f7b4f016d347aad0fdf09bb
Merge: 2d41ec5 286c75f
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Tue Aug 22 12:20:37 2017 +0000
Commit:     Kitware Robot <kwrobot at kitware.com>
CommitDate: Tue Aug 22 08:21:03 2017 -0400

    Merge topic 'revert-macos-hidpi-qt-dialog'
    
    286c75f7 macOS: Revert default Hi-DPI support in applications
    
    Acked-by: Kitware Robot <kwrobot at kitware.com>
    Merge-request: !1167


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=286c75f7f034c5fdcd43bcb755da74d09c809642
commit 286c75f7f034c5fdcd43bcb755da74d09c809642
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Mon Aug 21 09:46:25 2017 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Tue Aug 22 07:29:20 2017 -0400

    macOS: Revert default Hi-DPI support in applications
    
    This reverts commit v3.9.0-rc1~287^2 (macOS: Enable Hi-DPI support in
    applications by default, 2017-04-08).  It breaks iOS applications that
    do not use their own `MACOSX_BUNDLE_INFO_PLIST` because `NSApplication`
    is only for macOS apps.  Until more complete support for iOS is added
    to CMake (e.g. with a different default plist file) we must allow
    our default plist file to work for both macOS and iOS.
    
    Fixes: #17179

diff --git a/Help/release/3.9.rst b/Help/release/3.9.rst
index ae55105..5087b43 100644
--- a/Help/release/3.9.rst
+++ b/Help/release/3.9.rst
@@ -310,9 +310,6 @@ Other Changes
   in dependent targets may now compile without waiting for their targets'
   dependencies to link.
 
-* On macOS, the default application bundle ``Info.plist`` file now enables
-  Hi-DPI support.
-
 * On macOS, ``RPATH`` settings such as :prop_tgt:`BUILD_WITH_INSTALL_RPATH`
   no longer affect the ``install_name`` field.  See policy :policy:`CMP0068`.
 
@@ -333,3 +330,10 @@ Changes made since CMake 3.9.0 include the following.
   CMake 3.9.0 has been removed for the 3.9 series due to regressions
   caused by new use of ``<PackageName>_ROOT`` variables.  The behavior
   may be re-introduced in the future in a more-compatible way.
+
+3.9.2
+-----
+
+* On macOS, the default application bundle ``Info.plist`` file no longer
+  enables Hi-DPI support as it did in 3.9.0 and 3.9.1.  The change had
+  to be reverted because it broke iOS applications.
diff --git a/Modules/MacOSXBundleInfo.plist.in b/Modules/MacOSXBundleInfo.plist.in
index e06b17e..a4009bc 100644
--- a/Modules/MacOSXBundleInfo.plist.in
+++ b/Modules/MacOSXBundleInfo.plist.in
@@ -30,9 +30,5 @@
 	<true/>
 	<key>NSHumanReadableCopyright</key>
 	<string>${MACOSX_BUNDLE_COPYRIGHT}</string>
-	<key>NSPrincipalClass</key>
-	<string>NSApplication</string>
-	<key>NSHighResolutionCapable</key>
-	<string>True</string>
 </dict>
 </plist>

https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=23cf9e152f097b18f345e17b26063fa4d38e2267
commit 23cf9e152f097b18f345e17b26063fa4d38e2267
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Mon Aug 21 11:58:08 2017 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Mon Aug 21 11:59:33 2017 -0400

    InstallRequiredSystemLibraries: Find VS 2017 Update 3 redist directory
    
    Add compiler version 19.11 to our table.
    
    Fixes: #17184

diff --git a/Modules/InstallRequiredSystemLibraries.cmake b/Modules/InstallRequiredSystemLibraries.cmake
index 4bf870b..1a4e268 100644
--- a/Modules/InstallRequiredSystemLibraries.cmake
+++ b/Modules/InstallRequiredSystemLibraries.cmake
@@ -175,7 +175,11 @@ if(MSVC)
     endif()
   endif()
 
-  if(MSVC_VERSION EQUAL 1910)
+  if(MSVC_VERSION EQUAL 1911)
+    set(MSVC_REDIST_NAME VC141)
+    set(_MSVCRT_DLL_VERSION 140)
+    set(_MSVCRT_IDE_VERSION 15)
+  elseif(MSVC_VERSION EQUAL 1910)
     set(MSVC_REDIST_NAME VC150)
     set(_MSVCRT_DLL_VERSION 140)
     set(_MSVCRT_IDE_VERSION 15)
@@ -393,7 +397,10 @@ if(MSVC)
         )
     endif()
 
-    if(MSVC_VERSION EQUAL 1910)
+    if(MSVC_VERSION EQUAL 1911)
+      set(_MFC_DLL_VERSION 140)
+      set(_MFC_IDE_VERSION 15)
+    elseif(MSVC_VERSION EQUAL 1910)
       set(_MFC_DLL_VERSION 140)
       set(_MFC_IDE_VERSION 15)
     elseif(MSVC_VERSION EQUAL 1900)
@@ -481,7 +488,10 @@ if(MSVC)
   # MSVC 8 was the first version with OpenMP
   # Furthermore, there is no debug version of this
   if(CMAKE_INSTALL_OPENMP_LIBRARIES)
-    if(MSVC_VERSION EQUAL 1910)
+    if(MSVC_VERSION EQUAL 1911)
+      set(_MSOMP_DLL_VERSION 140)
+      set(_MSOMP_IDE_VERSION 15)
+    elseif(MSVC_VERSION EQUAL 1910)
       set(_MSOMP_DLL_VERSION 140)
       set(_MSOMP_IDE_VERSION 15)
     elseif(MSVC_VERSION EQUAL 1900)

https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b45d8432c2d710eef0bc236a983b0fad4616ed5c
commit b45d8432c2d710eef0bc236a983b0fad4616ed5c
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Mon Aug 21 11:48:20 2017 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Mon Aug 21 11:59:31 2017 -0400

    InstallRequiredSystemLibraries: Factor redist name into variable
    
    Store the `VC###` component of the `Microsoft.VC###.CRT` directory name
    in a variable set based on the toolchain version.  Its naming convention
    is changed by VS 15.3.

diff --git a/Modules/InstallRequiredSystemLibraries.cmake b/Modules/InstallRequiredSystemLibraries.cmake
index 6d33fc6..4bf870b 100644
--- a/Modules/InstallRequiredSystemLibraries.cmake
+++ b/Modules/InstallRequiredSystemLibraries.cmake
@@ -89,6 +89,8 @@ if(MSVC)
   endif()
 
   if(MSVC_VERSION EQUAL 1400)
+    set(MSVC_REDIST_NAME VC80)
+
     # Find the runtime library redistribution directory.
     get_filename_component(msvc_install_dir
       "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\8.0;InstallDir]" ABSOLUTE)
@@ -129,6 +131,8 @@ if(MSVC)
   endif()
 
   if(MSVC_VERSION EQUAL 1500)
+    set(MSVC_REDIST_NAME VC90)
+
     # Find the runtime library redistribution directory.
     get_filename_component(msvc_install_dir
       "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\9.0;InstallDir]" ABSOLUTE)
@@ -172,21 +176,27 @@ if(MSVC)
   endif()
 
   if(MSVC_VERSION EQUAL 1910)
+    set(MSVC_REDIST_NAME VC150)
     set(_MSVCRT_DLL_VERSION 140)
     set(_MSVCRT_IDE_VERSION 15)
   elseif(MSVC_VERSION EQUAL 1900)
+    set(MSVC_REDIST_NAME VC140)
     set(_MSVCRT_DLL_VERSION 140)
     set(_MSVCRT_IDE_VERSION 14)
   elseif(MSVC_VERSION EQUAL 1800)
+    set(MSVC_REDIST_NAME VC120)
     set(_MSVCRT_DLL_VERSION 120)
     set(_MSVCRT_IDE_VERSION 12)
   elseif(MSVC_VERSION EQUAL 1700)
+    set(MSVC_REDIST_NAME VC110)
     set(_MSVCRT_DLL_VERSION 110)
     set(_MSVCRT_IDE_VERSION 11)
   elseif(MSVC_VERSION EQUAL 1600)
+    set(MSVC_REDIST_NAME VC100)
     set(_MSVCRT_DLL_VERSION 100)
     set(_MSVCRT_IDE_VERSION 10)
   else()
+    set(MSVC_REDIST_NAME "")
     set(_MSVCRT_DLL_VERSION "")
     set(_MSVCRT_IDE_VERSION "")
   endif()
@@ -219,10 +229,10 @@ if(MSVC)
       unset(_vs_dir)
       unset(programfilesx86)
     endif()
-    find_path(MSVC_REDIST_DIR NAMES ${CMAKE_MSVC_ARCH}/Microsoft.VC${vs}0.CRT PATHS ${_vs_redist_paths})
+    find_path(MSVC_REDIST_DIR NAMES ${CMAKE_MSVC_ARCH}/Microsoft.${MSVC_REDIST_NAME}.CRT PATHS ${_vs_redist_paths})
     unset(_vs_redist_paths)
     mark_as_advanced(MSVC_REDIST_DIR)
-    set(MSVC_CRT_DIR "${MSVC_REDIST_DIR}/${CMAKE_MSVC_ARCH}/Microsoft.VC${vs}0.CRT")
+    set(MSVC_CRT_DIR "${MSVC_REDIST_DIR}/${CMAKE_MSVC_ARCH}/Microsoft.${MSVC_REDIST_NAME}.CRT")
 
     if(NOT CMAKE_INSTALL_DEBUG_LIBRARIES_ONLY)
       set(__install__libs
@@ -242,7 +252,7 @@ if(MSVC)
 
     if(CMAKE_INSTALL_DEBUG_LIBRARIES)
       set(MSVC_CRT_DIR
-        "${MSVC_REDIST_DIR}/Debug_NonRedist/${CMAKE_MSVC_ARCH}/Microsoft.VC${vs}0.DebugCRT")
+        "${MSVC_REDIST_DIR}/Debug_NonRedist/${CMAKE_MSVC_ARCH}/Microsoft.${MSVC_REDIST_NAME}.DebugCRT")
       set(__install__libs ${__install__libs}
         "${MSVC_CRT_DIR}/msvcp${v}d.dll"
         )
@@ -410,7 +420,7 @@ if(MSVC)
       # Starting with VS 15 the MFC DLLs may be in a different directory.
       if (NOT vs VERSION_LESS 15)
         file(GLOB _MSVC_REDIST_DIRS "${MSVC_REDIST_DIR}/../*")
-        find_path(MSVC_REDIST_MFC_DIR NAMES ${CMAKE_MSVC_ARCH}/Microsoft.VC${vs}0.MFC
+        find_path(MSVC_REDIST_MFC_DIR NAMES ${CMAKE_MSVC_ARCH}/Microsoft.${MSVC_REDIST_NAME}.MFC
           PATHS ${_MSVC_REDIST_DIRS} NO_DEFAULT_PATH)
         mark_as_advanced(MSVC_REDIST_MFC_DIR)
         unset(_MSVC_REDIST_DIRS)
@@ -424,7 +434,7 @@ if(MSVC)
 
       if(CMAKE_INSTALL_DEBUG_LIBRARIES)
         set(MSVC_MFC_DIR
-          "${MSVC_REDIST_MFC_DIR}/Debug_NonRedist/${CMAKE_MSVC_ARCH}/Microsoft.VC${vs}0.DebugMFC")
+          "${MSVC_REDIST_MFC_DIR}/Debug_NonRedist/${CMAKE_MSVC_ARCH}/Microsoft.${MSVC_REDIST_NAME}.DebugMFC")
         set(__install__libs ${__install__libs}
           "${MSVC_MFC_DIR}/mfc${v}ud.dll"
           "${MSVC_MFC_DIR}/mfcm${v}ud.dll"
@@ -437,7 +447,7 @@ if(MSVC)
         endif()
       endif()
 
-      set(MSVC_MFC_DIR "${MSVC_REDIST_MFC_DIR}/${CMAKE_MSVC_ARCH}/Microsoft.VC${vs}0.MFC")
+      set(MSVC_MFC_DIR "${MSVC_REDIST_MFC_DIR}/${CMAKE_MSVC_ARCH}/Microsoft.${MSVC_REDIST_NAME}.MFC")
       if(NOT CMAKE_INSTALL_DEBUG_LIBRARIES_ONLY)
         set(__install__libs ${__install__libs}
           "${MSVC_MFC_DIR}/mfc${v}u.dll"
@@ -452,7 +462,7 @@ if(MSVC)
       endif()
 
       # include the language dll's as well as the actuall dll's
-      set(MSVC_MFCLOC_DIR "${MSVC_REDIST_MFC_DIR}/${CMAKE_MSVC_ARCH}/Microsoft.VC${vs}0.MFCLOC")
+      set(MSVC_MFCLOC_DIR "${MSVC_REDIST_MFC_DIR}/${CMAKE_MSVC_ARCH}/Microsoft.${MSVC_REDIST_NAME}.MFCLOC")
       set(__install__libs ${__install__libs}
         "${MSVC_MFCLOC_DIR}/mfc${v}chs.dll"
         "${MSVC_MFCLOC_DIR}/mfc${v}cht.dll"
@@ -500,7 +510,7 @@ if(MSVC)
     if(_MSOMP_DLL_VERSION)
       set(v "${_MSOMP_DLL_VERSION}")
       set(vs "${_MSOMP_IDE_VERSION}")
-      set(MSVC_OPENMP_DIR "${MSVC_REDIST_DIR}/${CMAKE_MSVC_ARCH}/Microsoft.VC${vs}0.OPENMP")
+      set(MSVC_OPENMP_DIR "${MSVC_REDIST_DIR}/${CMAKE_MSVC_ARCH}/Microsoft.${MSVC_REDIST_NAME}.OPENMP")
 
       if(NOT CMAKE_INSTALL_DEBUG_LIBRARIES_ONLY)
         set(__install__libs ${__install__libs}

-----------------------------------------------------------------------

Summary of changes:
 Help/release/3.9.rst                         |   10 ++++--
 Modules/InstallRequiredSystemLibraries.cmake |   42 +++++++++++++++++++-------
 Modules/MacOSXBundleInfo.plist.in            |    4 ---
 3 files changed, 38 insertions(+), 18 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list