From 7c19a3f3a978515591e242bb5195557f0839c2bd Mon Sep 17 00:00:00 2001 From: Masonlet Date: Tue, 10 Mar 2026 18:24:19 -0400 Subject: [PATCH 1/2] fix: update README urls --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ab157f3..59ff03a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Starlet Math -[![Tests](https://github.com/masonlet/starlet-math/actions/workflows/tests.yml/badge.svg)](https://github.com/masonlet/starlet-math/actions/workflows/tests.yml) +[![Tests](https://github.com/starlet-engine/math/actions/workflows/tests.yml/badge.svg)](https://github.com/starlet-engine/math/actions/workflows/tests.yml) [![C++20](https://img.shields.io/badge/C%2B%2B-20-blue.svg)](https://isocpp.org/std/the-standard) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE) @@ -37,7 +37,7 @@ This makes it perfect for learning, experimentation, but not a drop-in replaceme include(FetchContent) FetchContent_Declare(starlet_math - GIT_REPOSITORY https://github.com/masonlet/starlet-math.git + GIT_REPOSITORY https://github.com/starlet-engine/math.git GIT_TAG main ) FetchContent_MakeAvailable(starlet_math) @@ -54,7 +54,7 @@ starlet_math_dep = starlet_math.get_variable('starlet_math_dep') ## Building and Testing ```bash # 1. Clone starlet-math -git clone https://github.com/masonlet/starlet-math.git +git clone https://github.com/starlet-engine/math.git cd starlet-math ``` From 2da0ba60b8ac0e4b728d225aeb8a0c133fe7310c Mon Sep 17 00:00:00 2001 From: Masonlet Date: Tue, 10 Mar 2026 18:28:34 -0400 Subject: [PATCH 2/2] feat: add starlet_math.wrap and relevant README instructions --- README.md | 5 +++++ subprojects/starlet_math.wrap | 7 +++++++ 2 files changed, 12 insertions(+) create mode 100644 subprojects/starlet_math.wrap diff --git a/README.md b/README.md index 59ff03a..a176755 100644 --- a/README.md +++ b/README.md @@ -46,9 +46,14 @@ target_link_libraries(app_name PRIVATE starlet_math) ``` ### Meson +> **Note:** Meson does not fetch dependencies automatically. Add the [`starlet_math.wrap`](./subprojects/starlet_math.wrap) file to your project's `subprojects` directory. + +In your `meson.build`: + ```python starlet_math = subproject('starlet_math') starlet_math_dep = starlet_math.get_variable('starlet_math_dep') +executable('app_name', 'main.cpp', dependencies: starlet_math_dep) ``` ## Building and Testing diff --git a/subprojects/starlet_math.wrap b/subprojects/starlet_math.wrap new file mode 100644 index 0000000..b87a2c3 --- /dev/null +++ b/subprojects/starlet_math.wrap @@ -0,0 +1,7 @@ +[wrap-git] +url = https://github.com/starlet-engine/math.git +revision = main +depth = 1 + +[provide] +starlet_math = starlet_math_dep