[CMakeRC] Add new port (#24454)

* create port

* .

* Update cmakerc.json

* Update portfile.cmake

* Update vcpkg.json

* Update cmakerc.json

* Update portfile.cmake

* Update cmakerc.json

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
This commit is contained in:
Leonid Pospelov 2022-04-29 03:24:55 +03:00 committed by GitHub
parent e3839ed58e
commit 6e52f3130d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,14 @@
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO vector-of-bool/cmrc
REF a64bea50c05594c8e7cf1f08e441bb9507742e2e
SHA512 134c358143bd43d38802c5b00b3f5cd6a0e4c7918659dd4cc6726a15048e11376e915889788d0dd6bbfe4c4057e18c9b5306c4e785ad16cb0f4cd1c5c4634f80
HEAD_REF master
)
file(INSTALL "${SOURCE_PATH}/CMakeRC.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME cmakerc-config.cmake)
# Handle copyright
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

7
ports/cmakerc/vcpkg.json Normal file
View File

@ -0,0 +1,7 @@
{
"name": "cmakerc",
"version-date": "2021-08-27",
"description": "A Resource Compiler in a Single CMake Script",
"homepage": "https://github.com/vector-of-bool/cmrc",
"license": "MIT"
}

View File

@ -1444,6 +1444,10 @@
"baseline": "1.0.0",
"port-version": 0
},
"cmakerc": {
"baseline": "2021-08-27",
"port-version": 0
},
"cmark": {
"baseline": "0.30.1",
"port-version": 0

9
versions/c-/cmakerc.json Normal file
View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "740fd9bb83e79eba29ccd69546d2b3105d719d5d",
"version-date": "2021-08-27",
"port-version": 0
}
]
}