Skip to content

Commit 91b60d3

Browse files
committed
chore(ports): [stablecoder-cmake-scripts] new port
Signed-off-by: msclock <[email protected]>
1 parent 4e28c06 commit 91b60d3

File tree

5 files changed

+53
-0
lines changed

5 files changed

+53
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
vcpkg_from_github(
2+
OUT_SOURCE_PATH
3+
SOURCE_PATH
4+
REPO
5+
StableCoder/cmake-scripts
6+
REF
7+
8a92770d1e518a86788b67ab0e4e5f965a399cc8
8+
SHA512
9+
bb27c23adde569f3d2bcf5620b149381281496782072ff544c37b6bca6265a9936f1e82b41483a77d2efa3a2178cd3b9b5a12bb40e71257598e27388db4d91d6
10+
HEAD_REF
11+
main)
12+
13+
file(GLOB items ${SOURCE_PATH}/*)
14+
list(FILTER items EXCLUDE REGEX
15+
[[LICENSE|.gitlab-ci.yml|.clang-format|img|example|.gitignore]])
16+
vcpkg_cmake_module(PATH_LIST ${items})
17+
18+
file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/usage
19+
DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
20+
21+
vcpkg_install_copyright(FILE_LIST ${SOURCE_PATH}/LICENSE)
22+
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)

ports/stablecoder-cmake-scripts/usage

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
The package stablecoder-cmake-scripts provides modules:
2+
3+
find_package(stablecoder-cmake-scripts REQUIRED)
4+
# More modules can refer to <https://github.com/StableCoder/cmake-scripts>.
5+
include(stablecoder-cmake-scripts/c++-standards)
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"name": "stablecoder-cmake-scripts",
3+
"version": "2023-10-13",
4+
"description": "Easy-to-add enhancements for any C/C++ CMake project. Including AFL fuzzing, code-coverage, Thread/Address/Leak/Address/undefined sanitizer instrumentation, compilation of GLSL shaders and more.",
5+
"homepage": "https://github.com/StableCoder/cmake-scripts",
6+
"license": "Apache-2.0",
7+
"dependencies": [
8+
{
9+
"name": "vcpkg-cmake-module",
10+
"host": true
11+
}
12+
]
13+
}

versions/baseline.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
"baseline": "2023-10-13",
2121
"port-version": 0
2222
},
23+
"stablecoder-cmake-scripts": {
24+
"baseline": "2023-10-13",
25+
"port-version": 0
26+
},
2327
"vcpkg-cmake-module": {
2428
"baseline": "2023-10-12",
2529
"port-version": 1
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": "94f5f03396b5b1acd808d91bc2d33e036814a2a5",
5+
"version": "2023-10-13",
6+
"port-version": 0
7+
}
8+
]
9+
}

0 commit comments

Comments
 (0)