Skip to content

Commit abb4445

Browse files
committed
Update cpp-library version and README links
Bump cpp-library dependency to version 5.2.0 in CMakeLists.txt. Update README.md to use new repository URLs and modernize CPM usage instructions.
1 parent cb287b1 commit abb4445

2 files changed

Lines changed: 7 additions & 11 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ include(cmake/CPM.cmake)
44

55
# Fetch cpp-library before project()
66
# Check https://github.com/stlab/cpp-library/releases for the latest version
7-
CPMAddPackage("gh:stlab/cpp-library@5.0.0")
7+
CPMAddPackage("gh:stlab/cpp-library@5.2.0")
88
include(${cpp-library_SOURCE_DIR}/cpp-library.cmake)
99

1010
# Enable dependency tracking before project()

README.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66

77
Copy-on-write wrapper for any type.
88

9-
[ci-badge]: https://github.com/stlab/copy-on-write/workflows/CI/badge.svg
10-
[ci-link]: https://github.com/stlab/copy-on-write/actions/workflows/ci.yml
9+
[ci-badge]: https://github.com/stlab/stlab-copy-on-write/workflows/CI/badge.svg
10+
[ci-link]: https://github.com/stlab/stlab-copy-on-write/actions/workflows/ci.yml
1111
[docs-badge]: https://img.shields.io/badge/docs-github%20pages-blue
12-
[docs-link]: https://stlab.github.io/copy-on-write/
12+
[docs-link]: https://stlab.github.io/stlab-copy-on-write/
1313
[license-badge]: https://img.shields.io/badge/license-BSL%201.0-blue.svg
14-
[license-link]: https://github.com/stlab/copy-on-write/blob/main/LICENSE
14+
[license-link]: https://github.com/stlab/stlab-copy-on-write/blob/main/LICENSE
1515

1616
## Overview
1717

1818
**Online Documentation:**
19-
The latest documentation is automatically built and deployed to [GitHub Pages](https://stlab.github.io/copy-on-write/) on every push to the main branch.
19+
The latest documentation is automatically built and deployed to [GitHub Pages](https://stlab.github.io/stlab-copy-on-write/) on every push to the main branch.
2020

2121
**Version Management:**
2222
The project version is maintained in a single location in the `project()` command at the top of
@@ -62,11 +62,7 @@ ctest --preset=test
6262
To include this library in your project using CPM:
6363

6464
```cmake
65-
CPMAddPackage(
66-
NAME stlab-copy-on-write
67-
GITHUB_REPOSITORY stlab/copy-on-write
68-
GIT_TAG main # or specify a version tag
69-
)
65+
CPMAddPackage("gh:stlab/stlab-copy-on-write@X.Y.Z")
7066
7167
target_link_libraries(your_target PRIVATE stlab::copy-on-write)
7268
```

0 commit comments

Comments
 (0)