From 4186cd8d3d9b85b24e5eec9fcf6fcb6641365998 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Wed, 25 Oct 2023 09:28:49 +0200 Subject: [PATCH 1/5] Add test if robometry CMake package can be found correctly --- recipe/meta.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index d385d83..89ff61b 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -44,6 +44,16 @@ outputs: - if not exist %LIBRARY_INC%\\robometry\\BufferManager.h exit 1 # [win] - if not exist %LIBRARY_LIB%\\robometry.lib exit 1 # [win] - if not exist %LIBRARY_BIN%\\robometry.dll exit 1 # [win] + - python -m pip install git+https://github.com/ami-iit/cmake-package-check@v0.0.1 + - cmake-package-check robometry + requires: + - python + - pip + - {{ compiler('c') }} + - {{ compiler('cxx') }} + - cmake + - pkg-config + - ninja - name: {{ name }} build: From fa5dde0b58b9056d11aee90dde907e88c58f499b Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Wed, 25 Oct 2023 09:38:47 +0200 Subject: [PATCH 2/5] Update meta.yaml --- recipe/meta.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 89ff61b..4bf9524 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -54,6 +54,7 @@ outputs: - cmake - pkg-config - ninja + - git - name: {{ name }} build: From 8c7b46f465918b4b19b60d5a66a6d9f44be614ba Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Wed, 25 Oct 2023 10:25:50 +0200 Subject: [PATCH 3/5] Update meta.yaml --- recipe/meta.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 4bf9524..1a88bb0 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -49,6 +49,7 @@ outputs: requires: - python - pip + - jinja2 - {{ compiler('c') }} - {{ compiler('cxx') }} - cmake From 786b6b2738b09d2e681f776ea3d553991b52876f Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Wed, 25 Oct 2023 11:25:36 +0200 Subject: [PATCH 4/5] Add dependency on libboost-devel to introduce run_exports dependency on boost --- recipe/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 1a88bb0..25a0c33 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -31,7 +31,7 @@ outputs: host: - ycm-cmake-modules - libmatio-cpp - - libboost-headers + - libboost-devel - nlohmann_json - yarp run_constrained: From 0db792765812d496eeccc1c5db2196d6cb07d4a5 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Wed, 25 Oct 2023 11:35:55 +0200 Subject: [PATCH 5/5] Update meta.yaml --- recipe/meta.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 25a0c33..a1bce24 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -34,6 +34,8 @@ outputs: - libboost-devel - nlohmann_json - yarp + run: + - libboost-headers run_constrained: - __osx >={{ MACOSX_DEPLOYMENT_TARGET|default("10.9") }} # [osx and x86_64]