1.4.0
- Feature: Added scm conanfile attribute, to easily clone/checkout from remote repositories and to capture the remote and commit in the exported recipe when the recipe and the sources lives in the same repository.
- Feature: Added
cmake_paths
generator to create a file settingCMAKE_MODULE_PATH
andCMAKE_PREFIX_PATH
to the packages folders.
It can be used as a CMake toolchain to perform a transparent CMake usage, without include any line of cmake code related to Conan. - Feature: Added
cmake_find_package
generator that generates oneFindXXX.cmake
file per each dependency both with classic CMake approach and modern
using transitive CMake targets. Read more :ref:here <cmake_find_package_generator>
. - Feature: Added :command:
conan search --json
json output to the command. - Feature: CMake build helper now sets
PKG_CONFIG_PATH
automatically and receives new parameterpkg_config_paths
to override it. - Feature: CMake build helper doesn't require to specify "arch" nor "compiler" anymore when the generator is "Unix Makefiles".
- Feature: Introduced default settings for GCC 8, Clang 7.
- Feature: Introduced support for c++ language standard c++20.
- Feature: Auto-managed
fPIC
option in AutoTools build helper. - Feature:
tools.vcvars_command()
andtools.vcvars_dict()
now takevcvars_ver
andwinsdk_version
as parameters. - Feature:
tools.vcvars_dict()
gets only the env vars set by vcvars with new parameteronly_diff=True
. - Feature: Generator
virtualbuildenv
now sets Visual Studio env vars viatool.vcvars_dict()
. - Fix: Message "Package '1' created" in package commands with
short_paths=True
now shows package ID. - Fix:
tools.vcvars_dict()
failing to create dictionary due to newlines in vcvars command output. - Bugfix:
tools.which()
returning directories instead of only files. - Bugfix: Inconsistent local cache when developing a recipe with
short_paths=True
. - Bugfix: Fixed reusing MSBuild() helper object for multi-configuration packages.
- Bugfix: Fixed authentication using env vars such as
CONAN_PASSWORD
whenCONAN_NON_INTERACTIVE=True
. - Bugfix: Fixed Android api_level was not used to adjust CMAKE_SYSTEM_VERSION.
- Bugfix: Fixed MSBuild() build helper creating empty XML node for runtime when the setting was not declared.
- Bugfix: Fixed
default_options
not supporting=
in value when specified as tuple. - Bugfix: AutoToolsBuildEnvironment build helper's
pkg_config_paths
parameter now sets paths relative to the install folder or absolute
ones if provided.