Skip to content

Commit 0c5e36d

Browse files
committed
Adds strong_type
1 parent a748172 commit 0c5e36d

File tree

4 files changed

+40
-2
lines changed

4 files changed

+40
-2
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
2+
vcpkg_from_github(
3+
OUT_SOURCE_PATH SOURCE_PATH
4+
REPO rollbear/strong_type
5+
REF "v14"
6+
SHA512 8accb839e52e87d871ef5321e73e93744c174ef01417c5fc2ef2ef692639db5b2cd2286a11aaa3b320d8e485823bd05980267711fa942d60ca496e1ec0a7dc39
7+
HEAD_REF 6c6a5bfc1d0972820a4b0ed7cafb19f67153054c
8+
)
9+
10+
vcpkg_cmake_configure(
11+
SOURCE_PATH "${SOURCE_PATH}"
12+
)
13+
14+
vcpkg_cmake_install()
15+
vcpkg_cmake_config_fixup(PACKAGE_NAME "strong_type" CONFIG_PATH "lib/cmake")
16+
17+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib" "${CURRENT_PACKAGES_DIR}/debug")
18+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
19+
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"name": "strong-type",
3+
"version": "14.0.0",
4+
"homepage": "https://github.com/rollbear/strong_type",
5+
"description": "A sample C++ library designed to serve as a foundational example for a tutorial on packaging libraries with vcpkg.",
6+
"license": "Boost",
7+
"dependencies": [
8+
{
9+
"name" : "vcpkg-cmake",
10+
"host" : true
11+
},
12+
{
13+
"name" : "vcpkg-cmake-config",
14+
"host" : true
15+
}
16+
]
17+
}

vcpkg-registry/versions/baseline.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"default": {
33
"folly": { "baseline": "2021.10.11.00", "port-version": 0 },
44
"jemalloc-nes": { "baseline": "5.2.1", "port-version": 0 },
5-
"oatpp": { "baseline": "1.3.0", "port-version": 0 }
5+
"oatpp": { "baseline": "1.3.0", "port-version": 0 },
6+
"strong-type": { "baseline": "14.0.0", "port-version": 0 }
67
}
78
}

vcpkg.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
"default-features": false,
4040
"features": ["openssl"],
4141
"platform": "osx"
42-
}
42+
},
43+
"strong-type"
4344
],
4445
"overrides": [
4546
{

0 commit comments

Comments
 (0)