vcpkg/ports/osmanip/portfile.cmake

26 lines
657 B
CMake
Raw Permalink Normal View History

[osmanip] Add new port (#30016) * Added basic info to ptc-print port. * Formatting json file. * Trying to add master branch instead of main. * Trying to add master branch instead of main. * Update git-tree. * CI baseline update. * Update ports/ptc-print/usage Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com> * Update ports/ptc-print/usage Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com> * CI baseline update. * Update ports/ptc-print/portfile.cmake Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com> * Update. * Update in usage file. * Formatting update. * Update. * Update. * [osmanip] new port * [osmanip] new port * Updates. * Updates. * Update. * [osmanip] new port * Changed port version. * Changed port version. * [osmanip] new port * [osmanip] new port * Update. * [arsenalgear] new port * Added port to arsenalgear. * Added port to arsenalgear. * Update. * Deleted arsenalgear stuff for the moment. * [arsenalgear] new port * Added right version. * [arsenalgear] new port * Update. * Update. * Delete baseline rows. * Fixed issue. * Fixed issue. * Commented not working OSs. * Update ports/arsenalgear/portfile.cmake Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com> * Update versions/a-/arsenalgear.json Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com> * Update * Update * Update. * Update * Update scripts/ci.baseline.txt Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com> * Update versions/a-/arsenalgear.json Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com> * Update * Added correct formatting. * Added correct formatting. * Update * Corrected hash. * New patch update. * Update. * Update. * Added new port version. * Added new port version. * Update. * Update ports/osmanip/portfile.cmake Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * Version update. * Update * Update sha15 --------- Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com> Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com> Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
2023-03-08 23:25:11 +01:00
# Github config
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO JustWhit3/osmanip
REF "v${VERSION}"
2023-07-27 18:23:36 +02:00
SHA512 ac5435ce5d39440851a01ee1576b7a543979efbf374a27ec32d63716361ef91662c353c2e39fecbd7e01059e8676f952f6851111643a55f941695dbbc6f03da4
[osmanip] Add new port (#30016) * Added basic info to ptc-print port. * Formatting json file. * Trying to add master branch instead of main. * Trying to add master branch instead of main. * Update git-tree. * CI baseline update. * Update ports/ptc-print/usage Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com> * Update ports/ptc-print/usage Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com> * CI baseline update. * Update ports/ptc-print/portfile.cmake Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com> * Update. * Update in usage file. * Formatting update. * Update. * Update. * [osmanip] new port * [osmanip] new port * Updates. * Updates. * Update. * [osmanip] new port * Changed port version. * Changed port version. * [osmanip] new port * [osmanip] new port * Update. * [arsenalgear] new port * Added port to arsenalgear. * Added port to arsenalgear. * Update. * Deleted arsenalgear stuff for the moment. * [arsenalgear] new port * Added right version. * [arsenalgear] new port * Update. * Update. * Delete baseline rows. * Fixed issue. * Fixed issue. * Commented not working OSs. * Update ports/arsenalgear/portfile.cmake Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com> * Update versions/a-/arsenalgear.json Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com> * Update * Update * Update. * Update * Update scripts/ci.baseline.txt Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com> * Update versions/a-/arsenalgear.json Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com> * Update * Added correct formatting. * Added correct formatting. * Update * Corrected hash. * New patch update. * Update. * Update. * Added new port version. * Added new port version. * Update. * Update ports/osmanip/portfile.cmake Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * Version update. * Update * Update sha15 --------- Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com> Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com> Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
2023-03-08 23:25:11 +01:00
HEAD_REF main
)
# Main commands
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DOSMANIP_TESTS=OFF
)
vcpkg_cmake_install()
# Move cmake configs
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/osmanip)
# Remove duplicate files
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
# Install license
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")