- Feature:
VirtualBuildEnv
andVirtualRunEnv
always generate files, even if empty. (#11536) - Feature: Improve dependency-cycle error to show the cycle. (#11519)
- Feature: Aggregate transitive components information in the same package for XcodeDeps. (#11507). Docs: 📃
- Feature: map
armv8
arch toARM64
MSBuild platform in MSBuildDeps generator. (#11505) - Feature: Added
CMakeToolchain(self).cache_variables
to declarecache_variables
in theconfigurePresets
in theCMakePresets.json
file. Conan reads them to callcmake
with-D
when using theCMake(self)
build helper. These cache variables doesn't support multi-configuration generators. (#11503). Docs: 📃 - Feature: Simplify XcodeDeps generator. (#11491). Docs: 📃
- Feature: Created
self.info.clear()
as an alias ofself.info.header_only()
that will disappear in Conan 2.0. (#11478). Docs: 📃 - Feature: Allow options having ["ANY"] as a list like Conan 2.X. (#11449). Docs: 📃
- Feature: Ported cppstd related tools from 2.X branch. (#11446). Docs: 📃
- Feature: Added tool
rm
atconan.tools.files
to remove files by pattern in a folder. (#11443). Docs: 📃 - Feature: Add support for
test_requires
in XcodeDeps. (#11415) - Feature: Add relative path support to Git SCM tool. (#11407)
- Feature: Changed
cmake_layout
with a more natural and intuitivefolders.build
andfolders.generators
. Also changed theCMakePresets.json
preset names. (#11391). Docs: 📃 - Fix: When using the
layout()
(as opt-in of some Conan 2.0 features) the defaultincludedirs
of the declared components is now["include"]
the default of thelibdirs
is["lib"]
and the default for thebindirs
is["bin"]
. Previously, the components always had empty fields. Also the default ofcpp_info.resdirs
is now empty. (#11471). Docs: 📃 - Fix: The
CMakeToolchain
will fail ifsettings.build_type
is specified in the'tools.cmake.cmake_layout:build_folder'
conf because the build_type is automatically managed by the CMakeToolchain and CMakeDeps generators by default. (#11470). Docs: 📃 - Fix: When using the new layout() feature of Conan 2.0, change the default
cpp_info.frameworkdirs = ["Frameworks"]
tocpp_info.frameworkdirs = []
, because it is more common to not have packaged Apple frameworks and declaring a missing folder can cause issues with the new toolchains. (#11455). Docs: 📃 - Fix: The "include" paths list in a
CMakeUserPresets.json
, when performing a newconan install
, are now checked, and in case some of them is a missing path (deleted directory), it is cleaned from the list. (#11414) - Fix: Avoid issues in
VirtualRunEnv
for undefined variables whenset -e
is defined. (#11361) - Bugfix: Fix logic in the generation of
CMakeUserPresets.json
- Conan will only generate the file if it did not previously exist, and will modify an existing one if the file was previously generated by conan. ExistingCMakeUserPresets.json
will be left untouched otherwise. (#11452). Docs: 📃 - Bugfix: Fix crash in pylint plugin with pylint >= 2.14.0. (#11445)
- Bugfix: Allow using
PkgConfigDeps
foreditable
packages, not raising an error causepackage_folder
is None. (#11440) - Bugfix: The
CMakePresets.json
file, when performing severalconan install
commands, ended-up with several entries of duplicated "buildPresets" if used with amulti-configuration
cmake generator. (#11414) - Bugfix:
PkgConfigDeps
creates*.pc
files fortest_requires
. (#11390)