![]() ![]() A couple of new supported compilers, and better C# support.CMake presets are a bit nicer, with the ability to include other files.You also get expandedĭebugging features, and the ability to force all links to be to targets. New controls like the ability to restrict paths for find_ commands and theĪbility to remove SYSTEM from an existing target. Header only libraries, like the various *_SETS target properties. Better support for MSVC, XCode, and others.Ī solid release focused on header only libraries, more user control, CMake.SYSTEM includes now are respected on MSVC generators.CUDA supports native to compile for the current GPUs detected.COMPILE_WARNING_AS_ERROR property and CMAKE_ variable, and -compile-no-warning-as-error to disable it.You can disable find_* searching the install prefix.CMAKE_COLOR_DIAGNOSTICS env var & variable added, replacing CMAKE_COLOR_MAKEFILE.PATH management for generator expressions.CMAKE_PROJECT_TOP_LEVEL_INCLUDES allows a user (like packagers) to inject pre-project code.find_package and FetchContent now have integration - you have options to download missing dependencies.-fresh option removes the old cache when running.Similarly, warnings as errors canīe set by a package and removed by packagers, as well (still make sure not toĭo this unless you are being build as the main project!). Workflows, and is configurable by packagers. Package writers are getting integration betweenįind_package and FetchContent that will allow "download if missing" SYSTEM target/directory property and EXPORT_NO_SYSTEM added, also for FetchContent.Several improvements to try_* commands. ![]() VALIDATOR function for find_* commands.block()/ endblock() for policy/variable scopes, also PROPOGATE in return().SYSTEM added to add_subdirectory, FetchContent, and as a directory property.Workflow presets added, package presets too.Of CMake introduced a few releases ago are now usable in find_ commands with It also has a lot more control over SYSTEM. target_compile_options now come after target_compile_features / CMAKE_STANDARDĬMake has new block scoping commands selectively controlling variables and.CMake's copy CLI tool supports updates only if different."_CLANG_TIDY_EXPORT_FIXES_DIR" for clang-tidy suggested fix output.CMAKE_VS_VERSION_BUILD_NUMBER added for the VS version number.ASM_MARMASM language added for Microsoft ARM assembler.CMake has a new YAML log of configure time checks in the output directory (also message(CONFIGURE_LOG.FindPython supports LimitedAPI/StableABI with a new flag.FindPython generates the correct PyPy SOABI (finally!).Logging has been movedįrom CMakeOutput.log and CMakeError.log to a new CMakeConfigureLog.yaml log. There are quiteĪ few nice fixes and new warnings, such as if you reverse the order of project() and cmake_minimium_required(). Two important additions for FindPython, PyPy SOABI support & LimitedAPI/StableABI support, really enhance FindPython's use. FindCUDA fully deprecated, use CUDA language and FindCUDAToolkit.Names for each release are arbitrarily picked by the author. This is an abbreviated version of the CMake changelog with just the highlights for authors. ![]()
0 Comments
Leave a Reply. |