diff --git a/changelog.rst b/changelog.rst index 7d92568ff0a..bbaa9ff2ad0 100644 --- a/changelog.rst +++ b/changelog.rst @@ -37,7 +37,7 @@ Check https://github.com/conan-io/conan for issues and more details about develo - Feature: Update urlib3 Conan dependency setting version `>=1.25.8` to avoid CVE-2020-7212. `#8914 `_ - Feature: Build-requires can define [conf] for its consumers. `#8895 `_ . Docs `here `__ - Feature: support M1 Catalyst. `#8818 `_ -- Feature: New ``conan install --build-require`` and ``conan create --build-require`` (when not using ``test_package``) arguments to explicitly define that the installed or created package has to be a ``build-require``, receiving the build profile instead of the host one. `#8627 `_ +- Feature: New ``conan install --build-require`` and ``conan create --build-require`` (when not using ``test_package``) arguments to explicitly define that the installed or created package has to be a ``build-require``, receiving the build profile instead of the host one. `#8627 `_ . Docs `here `__ - Feature: Introduced the `layout()` method to the recipe to be able to declare the folder structure both for the local development methods (conan source, conan build...) and in the cache. Also, associated to the folders, cppinfo objects to be used in editable packages and file pattern descriptions to enable "auto packaging". `#8554 `_ . Docs `here `__ - Fix: **CMakeDeps** generator: The transitive requirements for a build_require are not included in the `xxx-config.cmake` files generated. `#9015 `_ - Fix: The `CMakeToolchain` now supports Apple M1 cross-building with a profile without environment declared pointing to the system toolchain. `#9011 `_ diff --git a/reference/commands/consumer/install.rst b/reference/commands/consumer/install.rst index da925215e05..9c450b4f9dc 100644 --- a/reference/commands/consumer/install.rst +++ b/reference/commands/consumer/install.rst @@ -7,16 +7,17 @@ conan install .. code-block:: bash $ conan install [-h] [-g GENERATOR] [-if INSTALL_FOLDER] [-m [MANIFESTS]] - [-mi [MANIFESTS_INTERACTIVE]] [-v [VERIFY]] - [--no-imports] [-j JSON] [-b [BUILD]] [-r REMOTE] [-u] - [-l LOCKFILE] [--lockfile-out LOCKFILE_OUT] [-e ENV_HOST] - [-e:b ENV_BUILD] [-e:h ENV_HOST] [-o OPTIONS_HOST] - [-o:b OPTIONS_BUILD] [-o:h OPTIONS_HOST] - [-pr PROFILE_HOST] [-pr:b PROFILE_BUILD] - [-pr:h PROFILE_HOST] [-s SETTINGS_HOST] - [-s:b SETTINGS_BUILD] [-s:h SETTINGS_HOST] - [--lockfile-node-id LOCKFILE_NODE_ID] - path_or_reference [reference] + [-mi [MANIFESTS_INTERACTIVE]] [-v [VERIFY]] + [--no-imports] [--build-require] [-j JSON] [-b [BUILD]] + [-r REMOTE] [-u] [-l LOCKFILE] + [--lockfile-out LOCKFILE_OUT] [-e ENV_HOST] + [-e:b ENV_BUILD] [-e:h ENV_HOST] [-o OPTIONS_HOST] + [-o:b OPTIONS_BUILD] [-o:h OPTIONS_HOST] + [-pr PROFILE_HOST] [-pr:b PROFILE_BUILD] + [-pr:h PROFILE_HOST] [-s SETTINGS_HOST] + [-s:b SETTINGS_BUILD] [-s:h SETTINGS_HOST] + [--lockfile-node-id LOCKFILE_NODE_ID] + path_or_reference [reference] Installs the requirements specified in a recipe (conanfile.py or conanfile.txt). @@ -60,6 +61,7 @@ generators. -v [VERIFY], --verify [VERIFY] Verify dependencies manifests against stored ones --no-imports Install specified packages but avoid running imports + --build-require The provided reference is a build-require -j JSON, --json JSON Path to a json file where the install information will be written -b [BUILD], --build [BUILD] @@ -351,3 +353,26 @@ The ``install`` command accepts several arguments related to :ref:`lockfiles