mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 15:53:07 +08:00
[kdbindings] add port (#21306)
* [kdbindings] add port * update version * update version Co-authored-by: Jonliu1993 <13720414433@163.com>
This commit is contained in:
parent
356918c4c1
commit
5b5ee4ee6f
24
ports/kdbindings/portfile.cmake
Normal file
24
ports/kdbindings/portfile.cmake
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
vcpkg_from_github(
|
||||||
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
|
REPO KDAB/KDBindings
|
||||||
|
REF bbf790fc94f3018781f32be53c6086aedc0f74ec
|
||||||
|
SHA512 4303f8e73b376e851d40cab99b848788ae2aff00e0e4ec0006655d8ef9373eebe5e04f734e78037e257d7a5101739b912da9dab15bf1985f204b31224d9c53c5
|
||||||
|
HEAD_REF main
|
||||||
|
)
|
||||||
|
|
||||||
|
vcpkg_cmake_configure(
|
||||||
|
SOURCE_PATH "${SOURCE_PATH}"
|
||||||
|
OPTIONS
|
||||||
|
-DKDBindings_TESTS=OFF
|
||||||
|
-DKDBindings_EXAMPLES=OFF
|
||||||
|
-DKDBindings_DOCS=OFF
|
||||||
|
)
|
||||||
|
vcpkg_cmake_install()
|
||||||
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/KDBindings)
|
||||||
|
|
||||||
|
file(REMOVE_RECURSE
|
||||||
|
"${CURRENT_PACKAGES_DIR}/debug/"
|
||||||
|
"${CURRENT_PACKAGES_DIR}/lib/"
|
||||||
|
)
|
||||||
|
|
||||||
|
file(INSTALL "${SOURCE_PATH}/LICENSES/MIT.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
17
ports/kdbindings/vcpkg.json
Normal file
17
ports/kdbindings/vcpkg.json
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"name": "kdbindings",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"description": "Reactive programming & data binding in C++",
|
||||||
|
"homepage": "https://github.com/KDAB/KDBindings",
|
||||||
|
"license": "MIT OR BSD-3-Clause",
|
||||||
|
"dependencies": [
|
||||||
|
{
|
||||||
|
"name": "vcpkg-cmake",
|
||||||
|
"host": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "vcpkg-cmake-config",
|
||||||
|
"host": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -3008,6 +3008,10 @@
|
|||||||
"baseline": "1.9.0",
|
"baseline": "1.9.0",
|
||||||
"port-version": 1
|
"port-version": 1
|
||||||
},
|
},
|
||||||
|
"kdbindings": {
|
||||||
|
"baseline": "1.0.0",
|
||||||
|
"port-version": 0
|
||||||
|
},
|
||||||
"kealib": {
|
"kealib": {
|
||||||
"baseline": "1.4.14",
|
"baseline": "1.4.14",
|
||||||
"port-version": 0
|
"port-version": 0
|
||||||
|
9
versions/k-/kdbindings.json
Normal file
9
versions/k-/kdbindings.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "5dc85351398a57c7b222ac7a57952849c327c18b",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"port-version": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user