vcpkg/ports/osmanip/portfile.cmake
Gianluca Bianco b10e61a989
[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 14:25:11 -08:00

26 lines
657 B
CMake

# Github config
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO JustWhit3/osmanip
REF "v${VERSION}"
SHA512 cbbae779435bec3995756e1dbc8c283868dd923453054177dfa73bc00ac3510488467e535a1c4b14726f02d198f298eaeb884c1716dcde07e9aec06d02b22d32
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")