CMake 3.6.0-rc1 is now ready!

I am proud to announce the first CMake 3.6 release candidate.

Documentation is available at:

Release notes appear below and are also published at

Some of the more significant features of CMake 3.6 are:

  • The “Visual Studio 14 2015” generator learned to support the
    Clang/C2 toolsets, e.g. with the “-T v140_clang_3_7” option. This
    feature is experimental.
  • The “list()” command gained a “FILTER” sub-command to filter list
    elements by regular expression.
  • A “CMAKE_TRY_COMPILE_TARGET_TYPE” variable was added to optionally
    tell the “try_compile()” command to build a static library instead
    of an executable. This is useful for cross-compiling toolchains
    that cannot link binaries without custom flags or scripts.
  • A “<LANG>_CLANG_TIDY” target property and supporting
    “CMAKE_<LANG>_CLANG_TIDY” variable were introduced to tell the
    Makefile Generators and the “Ninja” generator to run “clang-tidy”
    along with the compiler for “C” and “CXX” languages.
  • The “ExternalProject” module leared the “GIT_SHALLOW 1” option to
    perform a shallow clone of a Git repository.
  • The “ExternalProject” module learned to initialize Git submodules
    recursively and also to initialize new submodules on updates. Use
    the “GIT_SUBMODULES” option to restrict which submodules are
    initalized and updated.
  • The “InstallRequiredSystemLibraries” module learned a new
    “CMAKE_INSTALL_UCRT_LIBRARIES” option to enable app-local deployment
    of the Windows Universal CRT libraries with Visual Studio 2015.
  • The “Compile Features” functionality is now aware of features
    supported by Intel C++ compilers versions 12.1 through 16.0 on UNIX

Deprecated and Removed Features

  • The “CMakeForceCompiler” module and its macros are now deprecated.
    See module documentation for an explanation.
  • The “Visual Studio 7 .NET 2003” generator is now deprecated and
    will be removed in a future version of CMake.
  • The “Visual Studio 7” generator (for VS .NET 2002) has been
    removed. It had been deprecated since CMake 3.3.
  • The “Visual Studio 6” generator has been removed. It had been
    deprecated since CMake 3.3.


Questions or comments are always welcome!