blob: 346345961f43f54c286006b14a9bc6f45b6409fd [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>CMake 3.5 Release Notes &mdash; CMake 3.8.2 Documentation</title>
<link rel="stylesheet" href="../_static/cmake.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
VERSION: '3.8.2',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt'
};
</script>
<script type="text/javascript" src="../_static/jquery.js"></script>
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<link rel="shortcut icon" href="../_static/cmake-favicon.ico"/>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="CMake 3.4 Release Notes" href="3.4.html" />
<link rel="prev" title="CMake 3.6 Release Notes" href="3.6.html" />
</head>
<body role="document">
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="../genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="3.4.html" title="CMake 3.4 Release Notes"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="3.6.html" title="CMake 3.6 Release Notes"
accesskey="P">previous</a> |</li>
<li>
<img src="../_static/cmake-logo-16.png" alt=""
style="vertical-align: middle; margin-top: -2px" />
</li>
<li>
<a href="https://cmake.org/">CMake</a> &#187;
</li>
<li>
<a href="../index.html">3.8.2 Documentation</a> &#187;
</li>
<li class="nav-item nav-item-1"><a href="index.html" accesskey="U">CMake Release Notes</a> &#187;</li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="cmake-3-5-release-notes">
<h1><a class="toc-backref" href="#id1">CMake 3.5 Release Notes</a><a class="headerlink" href="#cmake-3-5-release-notes" title="Permalink to this headline"></a></h1>
<div class="contents topic" id="contents">
<p class="topic-title first">Contents</p>
<ul class="simple">
<li><a class="reference internal" href="#cmake-3-5-release-notes" id="id1">CMake 3.5 Release Notes</a><ul>
<li><a class="reference internal" href="#new-features" id="id2">New Features</a><ul>
<li><a class="reference internal" href="#gui" id="id3">GUI</a></li>
<li><a class="reference internal" href="#command-line" id="id4">Command-Line</a></li>
<li><a class="reference internal" href="#commands" id="id5">Commands</a></li>
<li><a class="reference internal" href="#variables" id="id6">Variables</a></li>
<li><a class="reference internal" href="#properties" id="id7">Properties</a></li>
<li><a class="reference internal" href="#modules" id="id8">Modules</a></li>
<li><a class="reference internal" href="#platforms" id="id9">Platforms</a></li>
<li><a class="reference internal" href="#cpack" id="id10">CPack</a></li>
<li><a class="reference internal" href="#other" id="id11">Other</a></li>
</ul>
</li>
<li><a class="reference internal" href="#deprecated-and-removed-features" id="id12">Deprecated and Removed Features</a></li>
<li><a class="reference internal" href="#other-changes" id="id13">Other Changes</a></li>
</ul>
</li>
</ul>
</div>
<p>Changes made since CMake 3.4 include the following.</p>
<div class="section" id="new-features">
<h2><a class="toc-backref" href="#id2">New Features</a><a class="headerlink" href="#new-features" title="Permalink to this headline"></a></h2>
<div class="section" id="gui">
<h3><a class="toc-backref" href="#id3">GUI</a><a class="headerlink" href="#gui" title="Permalink to this headline"></a></h3>
<ul class="simple">
<li>The <span class="target" id="index-0-manual:cmake-gui(1)"></span><a class="reference internal" href="../manual/cmake-gui.1.html#manual:cmake-gui(1)" title="cmake-gui(1)"><code class="xref cmake cmake-manual docutils literal"><span class="pre">cmake-gui(1)</span></code></a> gained options to control warnings about
deprecated functionality.</li>
<li>The <span class="target" id="index-1-manual:cmake-gui(1)"></span><a class="reference internal" href="../manual/cmake-gui.1.html#manual:cmake-gui(1)" title="cmake-gui(1)"><code class="xref cmake cmake-manual docutils literal"><span class="pre">cmake-gui(1)</span></code></a> learned an option to set the toolset
to be used with VS IDE and Xcode generators, much like the
existing <code class="docutils literal"><span class="pre">-T</span></code> option to <span class="target" id="index-0-manual:cmake(1)"></span><a class="reference internal" href="../manual/cmake.1.html#manual:cmake(1)" title="cmake(1)"><code class="xref cmake cmake-manual docutils literal"><span class="pre">cmake(1)</span></code></a>.</li>
<li>The <span class="target" id="index-2-manual:cmake-gui(1)"></span><a class="reference internal" href="../manual/cmake-gui.1.html#manual:cmake-gui(1)" title="cmake-gui(1)"><code class="xref cmake cmake-manual docutils literal"><span class="pre">cmake-gui(1)</span></code></a> gained a Regular Expression Explorer which
may be used to create and evaluate regular expressions in real-time.
The explorer window is available via the <code class="docutils literal"><span class="pre">Tools</span></code> menu.</li>
</ul>
</div>
<div class="section" id="command-line">
<h3><a class="toc-backref" href="#id4">Command-Line</a><a class="headerlink" href="#command-line" title="Permalink to this headline"></a></h3>
<ul class="simple">
<li>The <code class="docutils literal"><span class="pre">-Wdev</span></code> and <code class="docutils literal"><span class="pre">-Wno-dev</span></code> <span class="target" id="index-1-manual:cmake(1)"></span><a class="reference internal" href="../manual/cmake.1.html#manual:cmake(1)" title="cmake(1)"><code class="xref cmake cmake-manual docutils literal"><span class="pre">cmake(1)</span></code></a> options now also enable
and suppress the deprecated warnings output by default.</li>
<li>The suppression of developer warnings as errors can now be controlled with
the new <code class="docutils literal"><span class="pre">-Werror=dev</span></code> and <code class="docutils literal"><span class="pre">-Wno-error=dev</span></code> <span class="target" id="index-2-manual:cmake(1)"></span><a class="reference internal" href="../manual/cmake.1.html#manual:cmake(1)" title="cmake(1)"><code class="xref cmake cmake-manual docutils literal"><span class="pre">cmake(1)</span></code></a> options.</li>
<li>The <span class="target" id="index-3-manual:cmake(1)"></span><a class="reference internal" href="../manual/cmake.1.html#manual:cmake(1)" title="cmake(1)"><code class="xref cmake cmake-manual docutils literal"><span class="pre">cmake(1)</span></code></a> <code class="docutils literal"><span class="pre">-E</span></code> command-line tools <code class="docutils literal"><span class="pre">copy</span></code>,
<code class="docutils literal"><span class="pre">copy_if_different</span></code>, <code class="docutils literal"><span class="pre">copy_directory</span></code>, and <code class="docutils literal"><span class="pre">make_directory</span></code>
learned to support multiple input files or directories.</li>
</ul>
</div>
<div class="section" id="commands">
<h3><a class="toc-backref" href="#id5">Commands</a><a class="headerlink" href="#commands" title="Permalink to this headline"></a></h3>
<ul class="simple">
<li>The <span class="target" id="index-0-command:cmake_parse_arguments"></span><a class="reference internal" href="../command/cmake_parse_arguments.html#command:cmake_parse_arguments" title="cmake_parse_arguments"><code class="xref cmake cmake-command docutils literal"><span class="pre">cmake_parse_arguments()</span></code></a> command is now implemented natively.
The <span class="target" id="index-0-module:CMakeParseArguments"></span><a class="reference internal" href="../module/CMakeParseArguments.html#module:CMakeParseArguments" title="CMakeParseArguments"><code class="xref cmake cmake-module docutils literal"><span class="pre">CMakeParseArguments</span></code></a> module remains as an empty placeholder
for compatibility.</li>
<li>The <span class="target" id="index-0-command:install"></span><a class="reference internal" href="../command/install.html#command:install" title="install"><code class="xref cmake cmake-command docutils literal"><span class="pre">install(DIRECTORY)</span></code></a> command learned to support
<span class="target" id="index-0-manual:cmake-generator-expressions(7)"></span><a class="reference internal" href="../manual/cmake-generator-expressions.7.html#manual:cmake-generator-expressions(7)" title="cmake-generator-expressions(7)"><code class="xref cmake cmake-manual docutils literal"><span class="pre">generator</span> <span class="pre">expressions</span></code></a>
in the list of directories.</li>
</ul>
</div>
<div class="section" id="variables">
<h3><a class="toc-backref" href="#id6">Variables</a><a class="headerlink" href="#variables" title="Permalink to this headline"></a></h3>
<ul class="simple">
<li>The <span class="target" id="index-0-variable:CMAKE_ERROR_DEPRECATED"></span><a class="reference internal" href="../variable/CMAKE_ERROR_DEPRECATED.html#variable:CMAKE_ERROR_DEPRECATED" title="CMAKE_ERROR_DEPRECATED"><code class="xref cmake cmake-variable docutils literal"><span class="pre">CMAKE_ERROR_DEPRECATED</span></code></a> variable can now be set using the
<code class="docutils literal"><span class="pre">-Werror=deprecated</span></code> and <code class="docutils literal"><span class="pre">-Wno-error=deprecated</span></code> <span class="target" id="index-4-manual:cmake(1)"></span><a class="reference internal" href="../manual/cmake.1.html#manual:cmake(1)" title="cmake(1)"><code class="xref cmake cmake-manual docutils literal"><span class="pre">cmake(1)</span></code></a>
options.</li>
<li>The <span class="target" id="index-0-variable:CMAKE_WARN_DEPRECATED"></span><a class="reference internal" href="../variable/CMAKE_WARN_DEPRECATED.html#variable:CMAKE_WARN_DEPRECATED" title="CMAKE_WARN_DEPRECATED"><code class="xref cmake cmake-variable docutils literal"><span class="pre">CMAKE_WARN_DEPRECATED</span></code></a> variable can now be set using the
<code class="docutils literal"><span class="pre">-Wdeprecated</span></code> and <code class="docutils literal"><span class="pre">-Wno-deprecated</span></code> <span class="target" id="index-5-manual:cmake(1)"></span><a class="reference internal" href="../manual/cmake.1.html#manual:cmake(1)" title="cmake(1)"><code class="xref cmake cmake-manual docutils literal"><span class="pre">cmake(1)</span></code></a> options.</li>
</ul>
</div>
<div class="section" id="properties">
<h3><a class="toc-backref" href="#id7">Properties</a><a class="headerlink" href="#properties" title="Permalink to this headline"></a></h3>
<ul class="simple">
<li>The <span class="target" id="index-0-prop_tgt:VS_GLOBAL_&lt;variable&gt;"></span><a class="reference internal" href="../prop_tgt/VS_GLOBAL_variable.html#prop_tgt:VS_GLOBAL_&lt;variable&gt;" title="VS_GLOBAL_&lt;variable&gt;"><code class="xref cmake cmake-prop_tgt docutils literal"><span class="pre">VS_GLOBAL_&lt;variable&gt;</span></code></a> target property is now implemented
for VS 2010 and above. Previously it worked only in VS 2008 and below.</li>
</ul>
</div>
<div class="section" id="modules">
<h3><a class="toc-backref" href="#id8">Modules</a><a class="headerlink" href="#modules" title="Permalink to this headline"></a></h3>
<ul class="simple">
<li>The <span class="target" id="index-0-module:ExternalProject"></span><a class="reference internal" href="../module/ExternalProject.html#module:ExternalProject" title="ExternalProject"><code class="xref cmake cmake-module docutils literal"><span class="pre">ExternalProject</span></code></a> module learned a new <code class="docutils literal"><span class="pre">GIT_REMOTE_NAME</span></code>
option to control the <code class="docutils literal"><span class="pre">git</span> <span class="pre">clone</span> <span class="pre">--origin</span></code> value.</li>
<li>The <span class="target" id="index-0-module:FindBoost"></span><a class="reference internal" href="../module/FindBoost.html#module:FindBoost" title="FindBoost"><code class="xref cmake cmake-module docutils literal"><span class="pre">FindBoost</span></code></a> module now provides imported targets
such as <code class="docutils literal"><span class="pre">Boost::boost</span></code> and <code class="docutils literal"><span class="pre">Boost::filesystem</span></code>.</li>
<li>The <span class="target" id="index-0-module:FindFLEX"></span><a class="reference internal" href="../module/FindFLEX.html#module:FindFLEX" title="FindFLEX"><code class="xref cmake cmake-module docutils literal"><span class="pre">FindFLEX</span></code></a> module <code class="docutils literal"><span class="pre">FLEX_TARGET</span></code> macro learned a
new <code class="docutils literal"><span class="pre">DEFINES_FILE</span></code> option to specify a custom output header
to be generated.</li>
<li>The <span class="target" id="index-0-module:FindGTest"></span><a class="reference internal" href="../module/FindGTest.html#module:FindGTest" title="FindGTest"><code class="xref cmake cmake-module docutils literal"><span class="pre">FindGTest</span></code></a> module now provides imported targets.</li>
<li>The <span class="target" id="index-0-module:FindGTK2"></span><a class="reference internal" href="../module/FindGTK2.html#module:FindGTK2" title="FindGTK2"><code class="xref cmake cmake-module docutils literal"><span class="pre">FindGTK2</span></code></a> module, when <code class="docutils literal"><span class="pre">GTK2_USE_IMPORTED_TARGETS</span></code> is
enabled, now sets <code class="docutils literal"><span class="pre">GTK2_LIBRARIES</span></code> to contain the list of imported
targets instead of the paths to the libraries. Moreover it now sets
a new <code class="docutils literal"><span class="pre">GTK2_TARGETS</span></code> variable containing all the targets imported.</li>
<li>The <span class="target" id="index-0-module:FindOpenMP"></span><a class="reference internal" href="../module/FindOpenMP.html#module:FindOpenMP" title="FindOpenMP"><code class="xref cmake cmake-module docutils literal"><span class="pre">FindOpenMP</span></code></a> module learned to support Clang.</li>
<li>The <span class="target" id="index-0-module:FindOpenSSL"></span><a class="reference internal" href="../module/FindOpenSSL.html#module:FindOpenSSL" title="FindOpenSSL"><code class="xref cmake cmake-module docutils literal"><span class="pre">FindOpenSSL</span></code></a> module gained a new
<code class="docutils literal"><span class="pre">OPENSSL_MSVC_STATIC_RT</span></code> option to search for libraries using
the MSVC static runtime.</li>
<li>The <span class="target" id="index-0-module:FindPNG"></span><a class="reference internal" href="../module/FindPNG.html#module:FindPNG" title="FindPNG"><code class="xref cmake cmake-module docutils literal"><span class="pre">FindPNG</span></code></a> module now provides imported targets.</li>
<li>The <span class="target" id="index-0-module:FindTIFF"></span><a class="reference internal" href="../module/FindTIFF.html#module:FindTIFF" title="FindTIFF"><code class="xref cmake cmake-module docutils literal"><span class="pre">FindTIFF</span></code></a> module now provides imported targets.</li>
<li>A <span class="target" id="index-0-module:FindXalanC"></span><a class="reference internal" href="../module/FindXalanC.html#module:FindXalanC" title="FindXalanC"><code class="xref cmake cmake-module docutils literal"><span class="pre">FindXalanC</span></code></a> module was introduced to find the
Apache Xalan-C++ XSL transform processing library.</li>
<li>The <span class="target" id="index-0-module:FindXercesC"></span><a class="reference internal" href="../module/FindXercesC.html#module:FindXercesC" title="FindXercesC"><code class="xref cmake cmake-module docutils literal"><span class="pre">FindXercesC</span></code></a> module now provides imported targets.</li>
</ul>
</div>
<div class="section" id="platforms">
<h3><a class="toc-backref" href="#id9">Platforms</a><a class="headerlink" href="#platforms" title="Permalink to this headline"></a></h3>
<ul class="simple">
<li>Support was added for the ARM Compiler (arm.com) with compiler id <code class="docutils literal"><span class="pre">ARMCC</span></code>.</li>
<li>A new platform file for cross-compiling in the Cray Linux Environment to
target compute nodes was added. See
<a class="reference internal" href="../manual/cmake-toolchains.7.html#cray-cross-compile"><span class="std std-ref">Cross Compiling for the Cray Linux Environment</span></a>
for usage details.</li>
<li>The <span class="target" id="index-0-manual:cmake-compile-features(7)"></span><a class="reference internal" href="../manual/cmake-compile-features.7.html#manual:cmake-compile-features(7)" title="cmake-compile-features(7)"><code class="xref cmake cmake-manual docutils literal"><span class="pre">Compile</span> <span class="pre">Features</span></code></a> functionality
is now aware of features supported by Clang compilers on Windows (MinGW).</li>
<li>When building for embedded Apple platforms like iOS CMake learned to build and
install combined targets which contain both a device and a simulator build.
This behavior can be enabled by setting the <span class="target" id="index-0-prop_tgt:IOS_INSTALL_COMBINED"></span><a class="reference internal" href="../prop_tgt/IOS_INSTALL_COMBINED.html#prop_tgt:IOS_INSTALL_COMBINED" title="IOS_INSTALL_COMBINED"><code class="xref cmake cmake-prop_tgt docutils literal"><span class="pre">IOS_INSTALL_COMBINED</span></code></a>
target property.</li>
</ul>
</div>
<div class="section" id="cpack">
<h3><a class="toc-backref" href="#id10">CPack</a><a class="headerlink" href="#cpack" title="Permalink to this headline"></a></h3>
<ul class="simple">
<li>The <span class="target" id="index-0-module:CPackDMG"></span><a class="reference internal" href="../module/CPackDMG.html#module:CPackDMG" title="CPackDMG"><code class="xref cmake cmake-module docutils literal"><span class="pre">CPackDMG</span></code></a> module learned new variable to specify AppleScript
file run to customize appearance of <code class="docutils literal"><span class="pre">DragNDrop</span></code> installer folder,
including background image setting using supplied PNG or multi-resolution
TIFF file. See the <span class="target" id="index-0-variable:CPACK_DMG_DS_STORE_SETUP_SCRIPT"></span><a class="reference internal" href="../module/CPackDMG.html#variable:CPACK_DMG_DS_STORE_SETUP_SCRIPT" title="CPACK_DMG_DS_STORE_SETUP_SCRIPT"><code class="xref cmake cmake-variable docutils literal"><span class="pre">CPACK_DMG_DS_STORE_SETUP_SCRIPT</span></code></a> and
<span class="target" id="index-0-variable:CPACK_DMG_BACKGROUND_IMAGE"></span><a class="reference internal" href="../module/CPackDMG.html#variable:CPACK_DMG_BACKGROUND_IMAGE" title="CPACK_DMG_BACKGROUND_IMAGE"><code class="xref cmake cmake-variable docutils literal"><span class="pre">CPACK_DMG_BACKGROUND_IMAGE</span></code></a> variables.</li>
<li>The <span class="target" id="index-0-module:CPackDeb"></span><a class="reference internal" href="../module/CPackDeb.html#module:CPackDeb" title="CPackDeb"><code class="xref cmake cmake-module docutils literal"><span class="pre">CPackDeb</span></code></a> module learned to set the optional config
file <code class="docutils literal"><span class="pre">Source</span></code> field using a monolithic or per-component variable.
See <span class="target" id="index-0-variable:CPACK_DEBIAN_PACKAGE_SOURCE"></span><a class="reference internal" href="../module/CPackDeb.html#variable:CPACK_DEBIAN_PACKAGE_SOURCE" title="CPACK_DEBIAN_PACKAGE_SOURCE"><code class="xref cmake cmake-variable docutils literal"><span class="pre">CPACK_DEBIAN_PACKAGE_SOURCE</span></code></a>.</li>
<li>The <span class="target" id="index-1-module:CPackDeb"></span><a class="reference internal" href="../module/CPackDeb.html#module:CPackDeb" title="CPackDeb"><code class="xref cmake cmake-module docutils literal"><span class="pre">CPackDeb</span></code></a> module learned to set Package, Section
and Priority control fields per-component.
See variables <span class="target" id="index-0-variable:CPACK_DEBIAN_&lt;COMPONENT&gt;_PACKAGE_SECTION"></span><a class="reference internal" href="../module/CPackDeb.html#variable:CPACK_DEBIAN_&lt;COMPONENT&gt;_PACKAGE_SECTION" title="CPACK_DEBIAN_&lt;COMPONENT&gt;_PACKAGE_SECTION"><code class="xref cmake cmake-variable docutils literal"><span class="pre">CPACK_DEBIAN_&lt;COMPONENT&gt;_PACKAGE_SECTION</span></code></a> and
<span class="target" id="index-0-variable:CPACK_DEBIAN_&lt;COMPONENT&gt;_PACKAGE_PRIORITY"></span><a class="reference internal" href="../module/CPackDeb.html#variable:CPACK_DEBIAN_&lt;COMPONENT&gt;_PACKAGE_PRIORITY" title="CPACK_DEBIAN_&lt;COMPONENT&gt;_PACKAGE_PRIORITY"><code class="xref cmake cmake-variable docutils literal"><span class="pre">CPACK_DEBIAN_&lt;COMPONENT&gt;_PACKAGE_PRIORITY</span></code></a>.</li>
<li>The <span class="target" id="index-1-module:CPackDMG"></span><a class="reference internal" href="../module/CPackDMG.html#module:CPackDMG" title="CPackDMG"><code class="xref cmake cmake-module docutils literal"><span class="pre">CPack</span> <span class="pre">DragNDrop</span> <span class="pre">generator</span></code></a> learned to add
multi-lingual SLAs to a DMG which is presented to the user when they try to
mount the DMG. See the <span class="target" id="index-0-variable:CPACK_DMG_SLA_LANGUAGES"></span><a class="reference internal" href="../module/CPackDMG.html#variable:CPACK_DMG_SLA_LANGUAGES" title="CPACK_DMG_SLA_LANGUAGES"><code class="xref cmake cmake-variable docutils literal"><span class="pre">CPACK_DMG_SLA_LANGUAGES</span></code></a> and
<span class="target" id="index-0-variable:CPACK_DMG_SLA_DIR"></span><a class="reference internal" href="../module/CPackDMG.html#variable:CPACK_DMG_SLA_DIR" title="CPACK_DMG_SLA_DIR"><code class="xref cmake cmake-variable docutils literal"><span class="pre">CPACK_DMG_SLA_DIR</span></code></a> variables for details.</li>
<li>The <span class="target" id="index-0-module:CPackNSIS"></span><a class="reference internal" href="../module/CPackNSIS.html#module:CPackNSIS" title="CPackNSIS"><code class="xref cmake cmake-module docutils literal"><span class="pre">CPackNSIS</span></code></a> module learned new variables to add bitmaps to the
installer. See the <span class="target" id="index-0-variable:CPACK_NSIS_MUI_WELCOMEFINISHPAGE_BITMAP"></span><a class="reference internal" href="../module/CPackNSIS.html#variable:CPACK_NSIS_MUI_WELCOMEFINISHPAGE_BITMAP" title="CPACK_NSIS_MUI_WELCOMEFINISHPAGE_BITMAP"><code class="xref cmake cmake-variable docutils literal"><span class="pre">CPACK_NSIS_MUI_WELCOMEFINISHPAGE_BITMAP</span></code></a>
and <span class="target" id="index-0-variable:CPACK_NSIS_MUI_UNWELCOMEFINISHPAGE_BITMAP"></span><a class="reference internal" href="../module/CPackNSIS.html#variable:CPACK_NSIS_MUI_UNWELCOMEFINISHPAGE_BITMAP" title="CPACK_NSIS_MUI_UNWELCOMEFINISHPAGE_BITMAP"><code class="xref cmake cmake-variable docutils literal"><span class="pre">CPACK_NSIS_MUI_UNWELCOMEFINISHPAGE_BITMAP</span></code></a> variables.</li>
<li>The <span class="target" id="index-0-module:CPackRPM"></span><a class="reference internal" href="../module/CPackRPM.html#module:CPackRPM" title="CPackRPM"><code class="xref cmake cmake-module docutils literal"><span class="pre">CPackRPM</span></code></a> module learned to set Name and Group
control fields per-component.
See <span class="target" id="index-0-variable:CPACK_RPM_&lt;component&gt;_PACKAGE_NAME"></span><a class="reference internal" href="../module/CPackRPM.html#variable:CPACK_RPM_&lt;component&gt;_PACKAGE_NAME" title="CPACK_RPM_&lt;component&gt;_PACKAGE_NAME"><code class="xref cmake cmake-variable docutils literal"><span class="pre">CPACK_RPM_&lt;component&gt;_PACKAGE_NAME</span></code></a>
and <span class="target" id="index-0-variable:CPACK_RPM_&lt;component&gt;_PACKAGE_GROUP"></span><a class="reference internal" href="../module/CPackRPM.html#variable:CPACK_RPM_&lt;component&gt;_PACKAGE_GROUP" title="CPACK_RPM_&lt;component&gt;_PACKAGE_GROUP"><code class="xref cmake cmake-variable docutils literal"><span class="pre">CPACK_RPM_&lt;component&gt;_PACKAGE_GROUP</span></code></a>.</li>
</ul>
</div>
<div class="section" id="other">
<h3><a class="toc-backref" href="#id11">Other</a><a class="headerlink" href="#other" title="Permalink to this headline"></a></h3>
<ul class="simple">
<li>Warnings about deprecated functionality are now enabled by default.
They may be suppressed with <code class="docutils literal"><span class="pre">-Wno-deprecated</span></code> or by setting the
<span class="target" id="index-1-variable:CMAKE_WARN_DEPRECATED"></span><a class="reference internal" href="../variable/CMAKE_WARN_DEPRECATED.html#variable:CMAKE_WARN_DEPRECATED" title="CMAKE_WARN_DEPRECATED"><code class="xref cmake cmake-variable docutils literal"><span class="pre">CMAKE_WARN_DEPRECATED</span></code></a> variable to false.</li>
</ul>
</div>
</div>
<div class="section" id="deprecated-and-removed-features">
<h2><a class="toc-backref" href="#id12">Deprecated and Removed Features</a><a class="headerlink" href="#deprecated-and-removed-features" title="Permalink to this headline"></a></h2>
<ul class="simple">
<li>The <span class="target" id="index-6-manual:cmake(1)"></span><a class="reference internal" href="../manual/cmake.1.html#manual:cmake(1)" title="cmake(1)"><code class="xref cmake cmake-manual docutils literal"><span class="pre">cmake(1)</span></code></a> <code class="docutils literal"><span class="pre">-E</span> <span class="pre">time</span></code> command now properly passes arguments
with spaces or special characters through to the child process. This
may break scripts that worked around the bug with their own extra
quoting or escaping.</li>
<li>The <span class="target" id="index-0-generator:Xcode"></span><a class="reference internal" href="../generator/Xcode.html#generator:Xcode" title="Xcode"><code class="xref cmake cmake-generator docutils literal"><span class="pre">Xcode</span></code></a> generator was fixed to escape backslashes in
strings consistently with other generators. Projects that previously
worked around the inconsistecy with an extra level of backslashes
conditioned on the Xcode generator must be updated to remove the
workaround for CMake 3.5 and greater.</li>
</ul>
</div>
<div class="section" id="other-changes">
<h2><a class="toc-backref" href="#id13">Other Changes</a><a class="headerlink" href="#other-changes" title="Permalink to this headline"></a></h2>
<ul class="simple">
<li>The <span class="target" id="index-0-generator:Visual Studio 14 2015"></span><a class="reference internal" href="../generator/Visual Studio 14 2015.html#generator:Visual Studio 14 2015" title="Visual Studio 14 2015"><code class="xref cmake cmake-generator docutils literal"><span class="pre">Visual</span> <span class="pre">Studio</span> <span class="pre">14</span> <span class="pre">2015</span></code></a> generator learned to map the
<code class="docutils literal"><span class="pre">/debug:fastlink</span></code> linker flag to the <code class="docutils literal"><span class="pre">.vcxproj</span></code> file property.</li>
<li>The <span class="target" id="index-1-module:FindGTK2"></span><a class="reference internal" href="../module/FindGTK2.html#module:FindGTK2" title="FindGTK2"><code class="xref cmake cmake-module docutils literal"><span class="pre">FindGTK2</span></code></a> module now configures the <code class="docutils literal"><span class="pre">GTK2::sigc++</span></code> imported
target to enable c++11 on its dependents when using sigc++ 2.5.1 or higher.</li>
<li>The precompiled Windows binary provided on <code class="docutils literal"><span class="pre">cmake.org</span></code> is now a
<code class="docutils literal"><span class="pre">.msi</span></code> package instead of an installer executable. One may need
to manually uninstall CMake versions lower than 3.5 before installing
the new package.</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<h3><a href="../index.html">Table Of Contents</a></h3>
<ul>
<li><a class="reference internal" href="#">CMake 3.5 Release Notes</a><ul>
<li><a class="reference internal" href="#new-features">New Features</a><ul>
<li><a class="reference internal" href="#gui">GUI</a></li>
<li><a class="reference internal" href="#command-line">Command-Line</a></li>
<li><a class="reference internal" href="#commands">Commands</a></li>
<li><a class="reference internal" href="#variables">Variables</a></li>
<li><a class="reference internal" href="#properties">Properties</a></li>
<li><a class="reference internal" href="#modules">Modules</a></li>
<li><a class="reference internal" href="#platforms">Platforms</a></li>
<li><a class="reference internal" href="#cpack">CPack</a></li>
<li><a class="reference internal" href="#other">Other</a></li>
</ul>
</li>
<li><a class="reference internal" href="#deprecated-and-removed-features">Deprecated and Removed Features</a></li>
<li><a class="reference internal" href="#other-changes">Other Changes</a></li>
</ul>
</li>
</ul>
<h4>Previous topic</h4>
<p class="topless"><a href="3.6.html"
title="previous chapter">CMake 3.6 Release Notes</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="3.4.html"
title="next chapter">CMake 3.4 Release Notes</a></p>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="../_sources/release/3.5.rst.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3>Quick search</h3>
<form class="search" action="../search.html" method="get">
<div><input type="text" name="q" /></div>
<div><input type="submit" value="Go" /></div>
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="../genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="3.4.html" title="CMake 3.4 Release Notes"
>next</a> |</li>
<li class="right" >
<a href="3.6.html" title="CMake 3.6 Release Notes"
>previous</a> |</li>
<li>
<img src="../_static/cmake-logo-16.png" alt=""
style="vertical-align: middle; margin-top: -2px" />
</li>
<li>
<a href="https://cmake.org/">CMake</a> &#187;
</li>
<li>
<a href="../index.html">3.8.2 Documentation</a> &#187;
</li>
<li class="nav-item nav-item-1"><a href="index.html" >CMake Release Notes</a> &#187;</li>
</ul>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2000-2017 Kitware, Inc. and Contributors.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.5.2.
</div>
</body>
</html>