You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Remove reference to master banch (#2497)
It no longer exists in conan-io/consan repository
* Added conf information about new apple flags (#2506)
* Fix typo error for os_version in cmake.rst (#2515)
Fix: #2513
* Renamed all the base_source_folder -> export_sources_folder (#2514)
* Renamed all the base_source_folder -> export_sources_folder
* Update package_layout.rst
* Docs for 11112 and 11117 and 11103 (#2512)
* Docs for 11112 and 11117
* Update reference/conanfile/tools/cmake/cmaketoolchain.rst
Co-authored-by: Francisco Ramírez <franchuti688@gmail.com>
* Simplified Build Preset name
Co-authored-by: Francisco Ramírez <franchuti688@gmail.com>
* [CMakeDeps] Added cmake_set_interface_link_directories property info (#2510)
* Added cmake_set_interface_link_directories property info
* Update cmakedeps.rst
* Update reference/conanfile/tools/cmake/cmakedeps.rst
Co-authored-by: Luis Martinez <lasote@gmail.com>
* Update cmakedeps.rst
* Update cmakedeps.rst
Co-authored-by: Luis Martinez <lasote@gmail.com>
* Docs for new autotools templates (#2511)
* add templates
* change argument
* [MSBuildToolchain][conf] Adding extra flags configurations to `MSBuildToolchain` (#2507)
* Added conf information
* Update microsoft.rst
* Update reference/conanfile/tools/microsoft.rst
Co-authored-by: Carlos Zoido <mrgalleta@gmail.com>
* Added env info to self.run() command (#2516)
* powershell env docs (#2517)
* powershell env docs
* added warning about env and PATH limits
* fixed CI
* some notes about relocatable libs (#2518)
* Docs: Add PKG_CONFIG_PATH to AutotoolsToolchain (#2509)
* add docs for PKG_CONFIG_PATH in toolchain
* Update reference/conanfile/tools/gnu/autotoolstoolchain.rst
Co-authored-by: Francisco Ramírez <franchuti688@gmail.com>
Co-authored-by: Luis Martinez <lasote@gmail.com>
Co-authored-by: Francisco Ramírez <franchuti688@gmail.com>
* conan 1.48.0
* Example for conanrun (#2519)
* Added example for conanrun launcher
* typo
* Added comments
* Added complete example
* Minimized example
* typo
* Rephrased
* removed path as value
Co-authored-by: Jeremy Lundy <16428663+jlundy2@users.noreply.github.com>
Co-authored-by: Francisco Ramírez <franchuti688@gmail.com>
Co-authored-by: Luca Bonifacio <4151271+lucabonifacio@users.noreply.github.com>
Co-authored-by: Luis Martinez <lasote@gmail.com>
Co-authored-by: James <james@conan.io>
Copy file name to clipboardExpand all lines: changelog.rst
+39-1Lines changed: 39 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -18,9 +18,47 @@ Check https://github.com/conan-io/conan for issues and more details about develo
18
18
19
19
.. important::
20
20
21
-
Conan 1.47 shouldn't break any existing 1.0 recipe or command line invocation. If it does, please submit
21
+
Conan 1.48 shouldn't break any existing 1.0 recipe or command line invocation. If it does, please submit
22
22
a report on GitHub. Read more about the :ref:`Conan stability commitment<stability>`.
23
23
24
+
1.48.0 (03-May-2022)
25
+
--------------------
26
+
27
+
- Feature: Do not recommend to set `PKG_CONFIG_PATH` in markdown generator any more as it is already set by the AutotoolsToolchain. `#11120 <https://github.com/conan-io/conan/pull/11120>`_
28
+
- Feature: The `cmake_layout` declares `folders.generators = "build/generators"` that is common for different configurations, enabling `CMakePresets.json` to support different `configurePresets` and `buildPresets` for single-config and multi-config generators. `#11117 <https://github.com/conan-io/conan/pull/11117>`_ . Docs `here <https://github.com/conan-io/docs/pull/2512>`__
29
+
- Feature: The `CMakeToolchain` generator will create (if missing) a `CMakeUserPresets.json` if the `CMakeLists.txt` file is found in the root folder of the project. That file will include automatically the `CMakePresets.json` file contained at `build/generators` folder to allow CMake and IDEs to locate automatically the presets generated by Conan. `#11117 <https://github.com/conan-io/conan/pull/11117>`_ . Docs `here <https://github.com/conan-io/docs/pull/2512>`__
30
+
- Feature: The `CMAKE_BUILD_TYPE` is not adjusted in the `conan_toolchain.cmake` anymore, the configuration is moved to the `CMakePresets.json` preparing Conan to support multiple "single-config" configurations in one `CMakePresets.json` file `#11112 <https://github.com/conan-io/conan/pull/11112>`_ . Docs `here <https://github.com/conan-io/docs/pull/2512>`__
31
+
- Feature: The `CMakePresets.json` (file generated when specified the `CMakeToolchain` generator) is appended with a new `buildPresets` after a :command:`conan install` with a different `build_type` when using a multiconfiguration generator like `Visual Studio`. `#11103 <https://github.com/conan-io/conan/pull/11103>`_ . Docs `here <https://github.com/conan-io/docs/pull/2512>`__
32
+
- Feature: Removed `PlatformToolset` and added `conantoolchain.props` from `*.vcxproj` file. `#11101 <https://github.com/conan-io/conan/pull/11101>`_
33
+
- Feature: Append the folder where the Conan generators were installed to `PKG_CONFIG_PATH` in AutotoolsToolchain. `#11063 <https://github.com/conan-io/conan/pull/11063>`_ . Docs `here <https://github.com/conan-io/docs/pull/2509>`__
34
+
- Feature: Adding new ``tools.env.virtualenv:powershell`` conf to opt-in to generate and use powershell scripts instead of .bat ones. `#11061 <https://github.com/conan-io/conan/pull/11061>`_ . Docs `here <https://github.com/conan-io/docs/pull/2517>`__
35
+
- Feature: Added new configuration fields: `tools.apple:enable_bitcode`, `tools.apple:enable_arc` and `tools.apple:enable_visibility`. `#10985 <https://github.com/conan-io/conan/pull/10985>`_ . Docs `here <https://github.com/conan-io/docs/pull/2506>`__
36
+
- Feature: Added new mechanism to inject common Xcode flags in `CMakeToolchain` generator if enabled Bitcode, ARC, or Visibility configurations. `#10985 <https://github.com/conan-io/conan/pull/10985>`_ . Docs `here <https://github.com/conan-io/docs/pull/2506>`__
37
+
- Feature: New templates for autotools exe and lib. `#10978 <https://github.com/conan-io/conan/pull/10978>`_ . Docs `here <https://github.com/conan-io/docs/pull/2511>`__
38
+
- Feature: Change `build_script_folder` argument from the configure to the `Autotools` build helper constructor. `#10978 <https://github.com/conan-io/conan/pull/10978>`_ . Docs `here <https://github.com/conan-io/docs/pull/2511>`__
39
+
- Feature: Replaced `add_definitions` by `add_compile_definitions` in `conan.tools.cmake.*` package. `#10974 <https://github.com/conan-io/conan/pull/10974>`_
40
+
- Feature: Added `cxxflags`, `cflags`, and `ldflags` attributes to `MSBuildToolchain`. `#10972 <https://github.com/conan-io/conan/pull/10972>`_ . Docs `here <https://github.com/conan-io/docs/pull/2507>`__
41
+
- Feature: Added mechanism to inject extra flags to `MSBuildToolchain` via `[conf]`. `#10972 <https://github.com/conan-io/conan/pull/10972>`_ . Docs `here <https://github.com/conan-io/docs/pull/2507>`__
42
+
- Fix: Allow ``Version(self.settings.compiler.version)`` to work for ``new`` tools.scm.Version``. `#11119 <https://github.com/conan-io/conan/pull/11119>`_
43
+
- Fix: Make shared libraries build with Autotools relocatable in Macos by patching the install name (LC_ID_DYLIB) and setting to `@rpath/libname.dylib`. `#11114 <https://github.com/conan-io/conan/pull/11114>`_ . Docs `here <https://github.com/conan-io/docs/pull/2518>`__
44
+
- Fix: using CMAKE_PROJECT_INCLUDE instead of presets to define variables that don't work in toolchains `#11098 <https://github.com/conan-io/conan/pull/11098>`_
45
+
- Fix: Fix quote escaping for defines in pkg_config generator. `#11073 <https://github.com/conan-io/conan/pull/11073>`_
46
+
- Fix: Fix quote escaping for defines in PkgConfigDeps generator. `#11073 <https://github.com/conan-io/conan/pull/11073>`_
47
+
- Fix: Quote `add_compile_definitions` correctly in CMakeToolchain. `#11057 <https://github.com/conan-io/conan/pull/11057>`_
48
+
- Fix: Escape quotes in definitions in CMakeToochain. `#11057 <https://github.com/conan-io/conan/pull/11057>`_
49
+
- Fix: Renamed `self.base_source_folder` to `self.export_source_folder`. That variable was introduced to reference the folder where the `export_sources` are. Currently, they are copied to the `source` folder but might be changed in the future to avoid copying them, so `self.export_source_folder` will always point to the folder containing the `exports_sources`. `#11055 <https://github.com/conan-io/conan/pull/11055>`_ . Docs `here <https://github.com/conan-io/docs/pull/2514>`__
50
+
- Fix: Ensure correct order for libraries in AutotoolsDeps. `#11054 <https://github.com/conan-io/conan/pull/11054>`_
51
+
- Fix: Escape quotes in XCodeDeps generator. `#11039 <https://github.com/conan-io/conan/pull/11039>`_
52
+
- Fix: The `CMakeDeps` generator now set `INTERFACE_LINK_DIRECTORIES` necessary when using auto link `'#pragma comment(lib, "foo")' ` when the required library sets the property `cmake_set_interface_link_directories`. `#10984 <https://github.com/conan-io/conan/pull/10984>`_ . Docs `here <https://github.com/conan-io/docs/pull/2510>`__
53
+
- Fix: Renamed variables from the `CMakeToolchain` context in blocks to be all lowercase. e.g: `CMAKE_OSX_ARCHITECTURES` to `cmake_osx_architectures`. `#10981 <https://github.com/conan-io/conan/pull/10981>`_
54
+
- Bugfix: Avoid ``BazelDeps`` to find a library when a directory with the same name exists. `#11090 <https://github.com/conan-io/conan/pull/11090>`_
55
+
- Bugfix: The `binaryDir` field at `CMakePresets.json` is not set if the `conanfile.build_folder` is not available, avoiding a `null` value breaking the specification. `#11088 <https://github.com/conan-io/conan/pull/11088>`_
56
+
- Bugfix: Fixed unziping while using `tools.get` or `tools.unzip` with the `strip_root=True` in a `tgz` file with hardlinks inside. `#11074 <https://github.com/conan-io/conan/pull/11074>`_
57
+
- Bugfix: The method `get_commit` from the new `conan.tools.scm.Git` was capturing a wrong commit, for example, ignoring commits in subfolders when checking the parent folder. `#11015 <https://github.com/conan-io/conan/pull/11015>`_
58
+
- Bugfix: The `json` generator was showing "None" in the `version` field of the dependencies when the `layout()` method was used. `#10960 <https://github.com/conan-io/conan/pull/10960>`_
59
+
- Bugfix: The config `default_python_requires_id_mode=unrelated_mode` raised an error, it has been fixed. `#10959 <https://github.com/conan-io/conan/pull/10959>`_
60
+
- Bugfix: The CMakeToolchain now declares `CACHE BOOL` variables when a bool is stored in a variable: `toolchain.variables["FOO"] = True`. `#10941 <https://github.com/conan-io/conan/pull/10941>`_
Copy file name to clipboardExpand all lines: extending/template_system/command_new.rst
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -147,5 +147,7 @@ These two templates are related to :ref:`Layouts<conan_tools_layout_predefined_l
147
147
* `meson_exe`: Generates a hello world executable based on modern Conan recipe (layout + generate) using Meson as the build system (since Conan 1.45).
148
148
* `bazel_lib`: Generates a hello world c++ library based on modern Conan recipe (layout + generate) using Bazel as the build system (since Conan 1.47).
149
149
* `bazel_exe`: Generates a hello world executable based on modern Conan recipe (layout + generate) using Bazel as the build system (since Conan 1.47).
150
+
* `autotools_lib`: Generates a hello world c++ library based on modern Conan recipe (layout + generate) using Autotools as the build system (since Conan 1.48).
151
+
* `autotools_exe`: Generates a hello world executable based on modern Conan recipe (layout + generate) using Autotools as the build system (since Conan 1.48).
150
152
151
153
A full example can be found in :ref:`Creating Packages<packaging_getting_started>` section.
0 commit comments