vcpkg/ports/arsenalgear/portfile.cmake

26 lines
673 B
CMake
Raw Normal View History

[arsenalgear] Add new port (#29753) * 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> --------- Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com> Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com>
2023-03-04 02:50:10 +08:00
# Github config
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO JustWhit3/arsenalgear-cpp
REF "v${VERSION}"
SHA512 27f2979da2d75851d5f8a63868d49b2f5b82064477a1c816667aaf0283e87f854712ab4aa473a3ef36c6ff895bb781c3b095ff617bf134051531aee9b8f03fd3
HEAD_REF main
)
# Main commands
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DARSENALGEAR_TESTS=OFF
)
vcpkg_cmake_install()
# Move cmake configs
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/arsenalgear)
# Remove duplicate files
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
# Install license
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")