Skip to content

Commit ba020dc

Browse files
committed
chore(port): [aminya-project-options] new port
Signed-off-by: msclock <[email protected]>
1 parent a47f477 commit ba020dc

File tree

5 files changed

+50
-0
lines changed

5 files changed

+50
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
vcpkg_from_github(
2+
OUT_SOURCE_PATH
3+
SOURCE_PATH
4+
REPO
5+
aminya/project_options
6+
REF
7+
v${VERSION}
8+
SHA512
9+
18c28b021fe0a855f27e3c99155aea59ab8c10784ccd9ff4c3b88426936fd12725d2dce164823e08086e5f176c88335d5abfe129630a1d6ac8ff171fb74554d2
10+
)
11+
12+
file(GLOB items ${SOURCE_PATH}/src/*)
13+
vcpkg_cmake_module(PATH_LIST ${items})
14+
15+
file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/usage
16+
DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
17+
18+
vcpkg_install_copyright(FILE_LIST ${SOURCE_PATH}/LICENSE.txt)
19+
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)

ports/aminya-project-options/usage

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
The package aminya-project-options provides modules:
2+
3+
find_package(aminya-project-options REQUIRED)
4+
# More modules can refer to <https://github.com/aminya/project_options>.
5+
include(aminya-project-options/Index.cmake)
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"name": "aminya-project-options",
3+
"version": "0.32.1",
4+
"description": "A general-purpose CMake library that provides functions that improve the CMake experience following the best practices.",
5+
"homepage": "https://github.com/aminya/project_options",
6+
"license": "MIT",
7+
"dependencies": [
8+
{
9+
"name": "vcpkg-cmake-module",
10+
"host": true
11+
}
12+
]
13+
}
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": "cf14970eaa4315ea89ea126a65572ea22c9c5c6a",
5+
"version": "0.32.1",
6+
"port-version": 0
7+
}
8+
]
9+
}

versions/baseline.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
{
22
"default": {
3+
"aminya-project-options": {
4+
"baseline": "0.32.1",
5+
"port-version": 0
6+
},
37
"cmake-conan": {
48
"baseline": "0.18.1",
59
"port-version": 0

0 commit comments

Comments
 (0)