Uilian Ries
5e5c1c5c72
( #13984 ) [templates] Keep same pattern for cmake and min_cppstd
...
Signed-off-by: Uilian Ries <uilianries@gmail.com >
Signed-off-by: Uilian Ries <uilianries@gmail.com >
2022-11-03 23:45:49 +01:00
Chris Mc
e08d116d3a
( #13848 ) docs: Use new Conan 1.53 features
...
* Use new Conan 1.53 features
since it's now available
* Apply suggestions from code review
Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com >
Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com >
2022-11-02 12:22:22 +01:00
Chris Mc
07c8af0ec1
( #13385 ) templates: Update cmake templates usage of cache variables
...
the normal ones are enough in 99% of cases so those should be prefered
2022-10-10 14:44:15 +02:00
Uilian Ries
9cd0fcbc34
( #13331 ) [docs] Apply python black formatter over recipe templates
...
* Apply python black
Signed-off-by: Uilian Ries <uilianries@gmail.com >
* Update to 120 chars
Signed-off-by: Uilian Ries <uilianries@gmail.com >
* Update to 120 chars
Signed-off-by: Uilian Ries <uilianries@gmail.com >
Signed-off-by: Uilian Ries <uilianries@gmail.com >
2022-10-06 18:24:15 +02:00
Jordan Williams
1eb00b5039
( #13237 ) Update cmake template
...
* Remove std::endl
This is not best practice.
If output must be flushed, use `std::flush` instead.
* Use check_min_vs to check compiler version
This is compatible with both Visual Studio and msvc compiler settings.
* Combine commands to delete settings in a single try-catch block
This reduces boilerplate.
* Remove destination=self.source_folder
This argument is not necessary when using the get method in the source method.
* Remove if is_msvc check before check_min_vs
Co-authored-by: Uilian Ries <uilianries@gmail.com >
* Condense output to a single statement
* Revert "Remove destination=self.source_folder"
This reverts commit 942d84d129
.
* Clean up grammar / typos
* Revert "Combine commands to delete settings in a single try-catch block"
This reverts commit 90f0f1922a
.
* Fix
* Revert "Fix"
This reverts commit 6483354cf7
.
* Revert "Clean up grammar / typos"
This reverts commit 3f472dbfe8
.
* Revert "Condense output to a single statement"
This reverts commit 96d7b71965
.
* Revert test_package.cpp
Co-authored-by: Uilian Ries <uilianries@gmail.com >
2022-10-04 18:24:09 +02:00
Uilian Ries
6c01a2b649
( #13093 ) [templates] Use Conan 1.52.0 feature
...
* Use Conan 1.52.0 feature
Signed-off-by: Uilian Ries <uilianries@gmail.com >
* Fix required version
Signed-off-by: Uilian Ries <uilianries@gmail.com >
2022-09-23 03:04:41 +02:00
Chris Mc
0249fed58c
( #12987 ) docs: fix calls to conan.files.rm
2022-09-21 12:45:21 +02:00
Uilian Ries
908b578ad3
( #13014 ) [docs] Fix leftover dot for cache_variables
...
Signed-off-by: Uilian Ries <uilianries@gmail.com >
Signed-off-by: Uilian Ries <uilianries@gmail.com >
2022-09-19 14:26:32 +02:00
toge
753c7974f0
( #12978 ) [docs] package_templates/cmake_package : fix cache_variables.definitions
and add configure
2022-09-16 19:24:23 +02:00
Uilian Ries
d348c438f1
( #12849 ) [docs] CMake package template
...
* Adapt template package to V1 and V2
Signed-off-by: Uilian Ries <uilianries@gmail.com >
* inform about each test package need
Signed-off-by: Uilian Ries <uilianries@gmail.com >
* Fix test_v1_package path
Signed-off-by: Uilian Ries <uilianries@gmail.com >
* add autotools example
Signed-off-by: Uilian Ries <uilianries@gmail.com >
* add msbuild template
Signed-off-by: Uilian Ries <uilianries@gmail.com >
* Move package to cmake_package
Signed-off-by: Uilian Ries <uilianries@gmail.com >
* Pure C for autotools
Signed-off-by: Uilian Ries <uilianries@gmail.com >
* Add more comments
Signed-off-by: Uilian Ries <uilianries@gmail.com >
* use static tools
Signed-off-by: Uilian Ries <uilianries@gmail.com >
* Remove unused imports for msbuild example
Signed-off-by: Uilian Ries <uilianries@gmail.com >
* patch can be applied under build() for header-only
Signed-off-by: Uilian Ries <uilianries@gmail.com >
* Add pre-built binaries example
Signed-off-by: Uilian Ries <uilianries@gmail.com >
* Remove duplicated package_id from header-only
Signed-off-by: Uilian Ries <uilianries@gmail.com >
* Apply SpaceIm suggestion
Signed-off-by: Uilian Ries <uilianries@gmail.com >
* safe cppstd
Signed-off-by: Uilian Ries <uilianries@gmail.com >
* Update cmake package example order
Signed-off-by: Uilian Ries <uilianries@gmail.com >
* Update autotools package example order
Signed-off-by: Uilian Ries <uilianries@gmail.com >
* Update msbuild package example order
Signed-off-by: Uilian Ries <uilianries@gmail.com >
* Update prebuilt package example order
Signed-off-by: Uilian Ries <uilianries@gmail.com >
* includedirs not used by pre-built
Signed-off-by: Uilian Ries <uilianries@gmail.com >
* add test_type to all test_package folders
Signed-off-by: Uilian Ries <uilianries@gmail.com >
* Update docs/package_templates/header_only/all/conanfile.py
Co-authored-by: Chris Mc <prince.chrismc@gmail.com >
* Declared layout
Signed-off-by: Uilian Ries <uilianries@gmail.com >
* remove other templates
Signed-off-by: Uilian Ries <uilianries@gmail.com >
* Update docs/package_templates/cmake_package/all/conanfile.py
Co-authored-by: Javier G. Sogo <jgsogo@gmail.com >
Signed-off-by: Uilian Ries <uilianries@gmail.com >
Co-authored-by: Chris Mc <prince.chrismc@gmail.com >
Co-authored-by: Javier G. Sogo <jgsogo@gmail.com >
2022-09-07 13:44:19 +02:00