mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 09:50:04 +08:00
515b1fb9b5
* [ports/rexo] New port * `vcpkg x-add-version --all` * [ports/rexo/portfile.cmake] Update version; use vcpkg_configure_cmake * `vcpkg x-add-version --all` * [versions/r-/rexo.json] Manually remove first iteration * vcpkg_cmake_install() Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> * Update ports/rexo/portfile.cmake Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com> * Update ports/rexo/portfile.cmake Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * Update ports/rexo/portfile.cmake Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * [rexo] Upgrade to 0.2.1; use new vcpkg cmake function names * ./vcpkg x-add-version --all --overwrite-version; remove 0.2.0 from versions/r-/rexo.json * [rexo] Upgrade to 0.2.2 * ./vcpkg x-add-version --all --overwrite-version * [rexo] Upgrade to 0.2.2 SHA hash * ./vcpkg x-add-version --all --overwrite-version * [rexo] CONTROL -> vcpkg.json * ./vcpkg x-add-version --all --overwrite-version * [ports/rexo] Use new format * [ports/rexo/vcpkg.json] Remove trailing comma * [versions/r-/rexo.json] ./vcpkg x-add-version rexo --overwrite-version Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com> Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
20 lines
631 B
CMake
20 lines
631 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO "christophercrouzet/rexo"
|
|
REF "v0.2.2"
|
|
SHA512 "c7b093920bb23d1b8ecb905c8d3eb281e46607890c071c079df4c194215fc007d672ce3524848a1f0376188869f51fd9955e3fe027c10f3d286a003adfd78d09"
|
|
HEAD_REF "main"
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-DREXO_BUILD_TESTS=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Rexo)
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
|
|
configure_file("${SOURCE_PATH}/UNLICENSE" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
|