Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[KWSys] add new port #19712

Merged
merged 10 commits into from
Aug 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions ports/kwsys/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
vcpkg_fail_port_install(ON_TARGET "UWP")

vcpkg_from_gitlab(
JonLiu1993 marked this conversation as resolved.
Show resolved Hide resolved
GITLAB_URL https://gitlab.kitware.com
OUT_SOURCE_PATH SOURCE_PATH
REPO utils/kwsys
REF dbc94f37f9821899aad441bcab525ad96a3f30dc #2021-08-06
SHA512 98441866fd51f2d4d3974d3c37d4456ce9e50c6f6c2ab0691e55b268907611ef061562fc30b1baa42aa195caf2281aa0e1e0799abc545fe6dae70efe2050ea50
HEAD_REF master
)

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DKWSYS_INSTALL_INCLUDE_DIR=${CURRENT_PACKAGES_DIR}/include
OPTIONS_RELEASE
-DKWSYS_INSTALL_BIN_DIR=${CURRENT_PACKAGES_DIR}/bin
-DKWSYS_INSTALL_LIB_DIR=${CURRENT_PACKAGES_DIR}/lib
OPTIONS_DEBUG
-DKWSYS_INSTALL_BIN_DIR=${CURRENT_PACKAGES_DIR}/debug/bin
-DKWSYS_INSTALL_LIB_DIR=${CURRENT_PACKAGES_DIR}/debug/lib
)

vcpkg_cmake_install()


# Handle copyright
file(INSTALL "${SOURCE_PATH}/Copyright.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
17 changes: 17 additions & 0 deletions ports/kwsys/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "kwsys",
"version-date": "2021-08-06",
"description": "Provides platform-independent APIs to many common system features",
"homepage": "https://gitlab.kitware.com/utils/kwsys",
"supports": "!uwp",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -3004,6 +3004,10 @@
"baseline": "2019-08-06",
"port-version": 0
},
"kwsys": {
"baseline": "2021-08-06",
"port-version": 0
},
"lapack": {
"baseline": "3",
"port-version": 1
Expand Down
9 changes: 9 additions & 0 deletions versions/k-/kwsys.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "376ae3a199ad4fdaad235b6e01b92ed217388550",
"version-date": "2021-08-06",
"port-version": 0
}
]
}