Skip to content
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
21 changes: 21 additions & 0 deletions ports/gtl/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#header-only library

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO greg7mdp/gtl
REF 1.00
SHA512 842a5e2634919a04fdd87995a8ada2f949c51a070a7c175043e0f9105a93248325023f85b28f9406276c2912a0fb4015a2e9ba30113d4a0214492da0dc5e5716
HEAD_REF main
)

# Use greg7mdp/gtl's own build process, skipping examples and tests
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()

# Delete redundant directories
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib" "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/share/doc")

# Put the licence file where vcpkg expects it
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
12 changes: 12 additions & 0 deletions ports/gtl/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "gtl",
"version": "1.0.0",
"description": "Greg's Template Library of useful classes.",
"license": "Apache-2.0",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
}
]
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2636,6 +2636,10 @@
"baseline": "4.6.0",
"port-version": 0
},
"gtl": {
"baseline": "1.0.0",
"port-version": 0
},
"gts": {
"baseline": "0.7.6",
"port-version": 4
Expand Down
9 changes: 9 additions & 0 deletions versions/g-/gtl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "52665bb6e7f0bbe30ffabc59521a937072ecc9e2",
"version": "1.0.0",
"port-version": 0
}
]
}