CMake 3.13.0-rc2 is ready for testing

I am proud to announce the second CMake 3.13 release candidate.
https://cmake.org/download/

The first 3.13.0 release candidates included a change to allow generator expressions in “install(CODE)” and “install(SCRIPT)”. This has been reverted in rc2 due to breaking backwards compatibility. See issue 18435.

Documentation is available at:
https://cmake.org/cmake/help/v3.13

Release notes appear below and are also published at
https://cmake.org/cmake/help/v3.13/release/3.13.html

Some of the more significant changes in CMake 3.13 are:

  • The Visual Studio Generators for VS 2010 and above learned to
    support the “INTERPROCEDURAL_OPTIMIZATION” target property and
    supporting “CheckIPOSupported” module.
  • The “Green Hills MULTI” generator has been updated to include
    support for platform, architecture, and toolset selection.
  • The “cmake” command gained the “-S <source_dir>” command line
    option to specify the location of the source directory. This option
    can be used independently of “-B”.
  • The “cmake” command gained the “-B <build_dir>” command line
    option to specify the location of the build directory. This option
    can be used independently of “-S”.
  • The “cmake” “-E create_symlink” command can now be used on
    Windows.
  • The “target_link_directories()” command was created to specify
    link directories for targets and their dependents.
  • The “target_link_options()” command was created to specify link
    options for targets and their dependents.
  • The “target_link_libraries()” command may now be called to modify
    targets created outside the current directory. See policy “CMP0079”.
  • The “install(TARGETS)” command learned to install targets created
    outside the current directory.
  • A “VS_DEBUGGER_COMMAND_ARGUMENTS” target property was created to
    set the debugging command line arguments with Visual Studio
    Generators for VS 2010 and above.
  • A “VS_DEBUGGER_ENVIRONMENT” target property was created to set the
    debugging environment with Visual Studio Generators for VS 2010 and
    above.
  • The “option()” command now honors an existing normal variable of
    the same name and does nothing instead of possibly creating a cache
    entry (or setting its type) and removing the normal variable. See
    policy “CMP0077”.
  • The “target_sources()” command now interprets relative source file
    paths as relative to the current source directory. This simplifies
    incrementally building up a target’s sources from subdirectories.
    The “CMP0076” policy was added to provide backward compatibility
    with the old behavior where required.

 

Questions or comments are always welcome!

X