- Feature: Update system package manager db right before install, instead before check (#11716)
- Feature: Do the package manager update just in mode
install
and ignore if mode ischeck
. (#11712). Docs: 📃 - Feature: The
AutotoolsToolchain
attributes.cxxflags
,.cflags
,.ldflags
and.defines
can be read at any moment, now is not needed to call.environment()
to get them calculated. In the other hand, if you want to add additional flags the following attributes have to be used:.extra_cxxflags
,.extra_cflags
,.extra_ldflags
and.extra_defines
(#11678). Docs: 📃 - Feature: Changed
CMakeDeps
generator so the global target made for a package with components is a target linked with the targets of the components, instead of a target made from mergingcpp_info
objects from the components. (#11673). Docs: 📃 - Feature: Support for components in MSBuildDeps. (#11669). Docs: 📃
- Feature: The
CMakePreset.json
now containstoolset
andarchitecture
items when usingNinja
generator andmsvc
compiler so the IDE (Visual Studio) can set the correct compiler (vcvars) automatically. (#11666) - Feature: Introduced a new conf
tools.cmake.cmaketoolchain.presets:max_schema_version
to generateCMakePresets.json
andCMakeUserPresets.json
compatible with the specified json schema version. The minimum value supported is>=2
. (#11655). Docs: 📃 - Feature: Added
objc_args
/objc_link_args
/objcpp_args
/objcpp_link_args
to MesonToolchain for Objective-C/C++ language. (#11632). Docs: 📃 - Feature: Adding default directories to MesonToolchain. (#11618). Docs: 📃
- Feature: Provide Path accessors in Conanfile. (#11585)
- Feature: Introduced a
validate_build()
method in the recipes to validate if the package can be built according toself.settings
andself.options
instead ofself.info.settings
andself.info.options
that it is used to validate thebinary
. (#11580). Docs: 📃 - Feature: Add ability to download files in the local filesystem using
file://
URIs. (#11569). Docs: 📃 - Feature: Added
MesonDeps
as a new generator to create an extra file with all the GNU flags from all the dependencies.Meson
build-helper will add that one (if exists) to complement the created one byMesonToolchain
. (#11557). Docs: 📃 - Feature: Added a new
self.folders.subproject
forlayout()
to be able to define layouts that goes up to the parent or siblings folders, together with theself.folders.root = ".."
. (#11556). Docs: 📃 - Feature: Adding new
msys2_ucrt64
,msys2_mingw64
,msys2_clang64
subsystems inos.subsystem
for Windows. (#11530) - Fix: Add
conan.tools.scm
as hidden-import to pyinstaller.py, so it is bundled with the installer. (#11677) - Fix: The
cmake_build_modules
property can only be declared in theself.cpp_info
, not in components, where will be ignored. (#11673). Docs: 📃 - Fix: Fix
Dnf
andYum
to accept 100 as a return code. (#11668) - Fix: Get the cpu count for cgroup2 from
/sys/fs/cgroup/cpu.max
. (#11667). Docs: 📃 - Fix: Improve opensuse detection in
tool.system.package_manager
. (#11660) - Fix: Add raspbian to default
tools.system.package_manager
package manager mapping. (#11654). Docs: 📃 - Fix: Allow templates for
conan new
to contain Readme.md and LICENSE.txt files. (#11645) - Fix: Remove
conan_message()
inCMakeDeps
. (#11625) - Fix: In
conans.tools.collect_libs
andconan.tools.files.collect_libs
, avoids to list other flavors (version, soversion) of the samedylib
on macOS, so that behavior is consistent on Linux & macOS. (#11527). Docs: 📃 - Bugfix: The
AutotoolsToolchain
now clearsNone
values from the attributes.cxxflags
,.cflags
,.ldflags
and.defines
. (#11678). Docs: 📃 - Bugfix: The
CMakePresets.json
file contained invalid paths (mixing/
and\
) for Windows that caused issues when usingVisual Studio
. (#11652) - BugFix: Avoid
LocalDebuggerEnv
overflows inMSBuildDeps
due to addition of PATH env-var. (#11631) - Bugfix: Fix frameworkdirs not taken into account in XcodeDeps generator. (#11617)
- Bugfix:
CMakeToolchain
avoid settingCMAKE_INSTALL_XXX
variables if the values are not defined. (#11614) - Bugfix: Use correct build target in
CMake.test()
for the Ninja Multi-Config generator. (#11594) - Bugfix: The CMakeToolchain was crashing when building for
Android os
a package that is removing thecompiler.libcxx
(C library). (#11586)