Files
conan-center-index/docs/package_templates/header_only
Uilian Ries 41f9b6f5fb [docs] Recipe templates with Conan 2.x support only (#25849)
* [docs] package_templates: demo non-list conandata URLs as well

* [docs] autotools: do not use `-nologo` for AR with MSVC

It keeps the logs slightly cleaner for a very infrequent command but has caused issues with "ar interface detection" in ./configure for several recipes.

* [docs] autotools: provide tool_requires() versions

These change very infrequently (except for pkgconf, somewhat). I think these can be included for convenience.

* [docs] autotools: mention a common workaround for MSVC

* [docs] cmake: improve recipe example

* [docs] package_templates: update the conventional LicenseRef format

* [docs] package_templates: improve package_type comment

* [docs] package_templates: various minor improvements

* [docs] package_templates: remove outdated test_package comment

* [docs] meson: bump versions in template

* [docs] package_templates: add a version range example

* [docs] package_templates: improve transitive_headers=True examples

* [docs] autotools: improve AutotoolsDeps workaround comment

* [docs] autotools: revert to x.y.z tool versions

* [docs] package_templates: remove outdated CMakeLists.txt comment

* [docs] package_templates: add layout to prebuilt_tool_package test_package

The test_package directory gets gunked up with generated VirtualBuildEnv files otherwise.

* [docs] package_templates: fix some typos

* Move CMake and and PkgConfig properties to the top, drop legacy generator props

The CMake and PkgConfig info is the most relevant part to any consumers and should come first, imo.

New recipes should not bother with the legacy generators, especially after test_v1_package is no longer included.

* Simplify Cmake template

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Simplify header-only template

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Simplify header-only template

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Move patches to source

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Simplify autotools template

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Simplify meson template

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Simplify msbuild template

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Simplify prebuilt template

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Grammar typo

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Use cxx language by default on test package

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Remove VirtuanEnvs from test package

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Update test package comment

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Remove VirtuanEnvs - They are automatic

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Comment update

Co-authored-by: Daniel <danimanzaneque@gmail.com>

* Comment update

Co-authored-by: Daniel <danimanzaneque@gmail.com>

* Comment update

Co-authored-by: Daniel <danimanzaneque@gmail.com>

* Comment update

Co-authored-by: Daniel <danimanzaneque@gmail.com>

* Comment how to install

---------

Signed-off-by: Uilian Ries <uilianries@gmail.com>
Co-authored-by: Martin Valgur <martin.valgur@gmail.com>
Co-authored-by: Daniel <danimanzaneque@gmail.com>
2024-11-08 16:36:42 +01:00
..