Skip to content

Commit 656be05

Browse files
authored
[orefkov-simstr] New port (#48310)
1 parent 40337e6 commit 656be05

File tree

5 files changed

+59
-0
lines changed

5 files changed

+59
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
vcpkg_from_github(
2+
OUT_SOURCE_PATH SOURCE_PATH
3+
REPO orefkov/simstr
4+
SHA512 8a54bff0719439834728ce25e5140cee5f3fb43463c5225b8ef1eb6da0fb4d3f279db4b837e7097350ed03c9cd553e6250ee6937c6bc9e1b9be0b8816681a79c
5+
REF "rel${VERSION}"
6+
HEAD_REF main
7+
)
8+
9+
vcpkg_cmake_configure(
10+
SOURCE_PATH "${SOURCE_PATH}"
11+
OPTIONS ${FEATURE_OPTIONS}
12+
-DSIMSTR_BUILD_TESTS=OFF
13+
-DSIMSTR_BENCHMARKS=OFF
14+
-DSIMSTR_LINK_NATVIS=OFF
15+
)
16+
17+
vcpkg_cmake_install()
18+
19+
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/simstr)
20+
vcpkg_fixup_pkgconfig()
21+
22+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
23+
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
24+
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")

ports/orefkov-simstr/usage

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
orefkov-simstr provides CMake targets:
2+
3+
find_package(simstr CONFIG REQUIRED)
4+
target_link_libraries(main PRIVATE simstr::simstr)

ports/orefkov-simstr/vcpkg.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "orefkov-simstr",
3+
"version-semver": "1.2.7",
4+
"description": "Yet another C++ strings library implementation",
5+
"homepage": "https://github.com/orefkov/simstr",
6+
"license": "MIT",
7+
"dependencies": [
8+
"simdutf",
9+
{
10+
"name": "vcpkg-cmake",
11+
"host": true
12+
},
13+
{
14+
"name": "vcpkg-cmake-config",
15+
"host": true
16+
}
17+
]
18+
}

versions/baseline.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7352,6 +7352,10 @@
73527352
"baseline": "2.1.0",
73537353
"port-version": 0
73547354
},
7355+
"orefkov-simstr": {
7356+
"baseline": "1.2.7",
7357+
"port-version": 0
7358+
},
73557359
"orocos-kdl": {
73567360
"baseline": "1.5.3",
73577361
"port-version": 0

versions/o-/orefkov-simstr.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"versions": [
3+
{
4+
"git-tree": "2c0e4ff0ab96b22efe0a918140c7330019864976",
5+
"version-semver": "1.2.7",
6+
"port-version": 0
7+
}
8+
]
9+
}

0 commit comments

Comments
 (0)