mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 03:31:48 +08:00
9f7d6142eb
* Add bddisasm port Currently fetching bddisasm from my fork of the project * bddisasm: Build with BDD_INCLUDE_TOOL=OFF * bddisasm: Use PREFER_NINJA * bddisasm: Update REF * bddisasm: Don't use vcpkg_install_msbuild * bddisasm: Switch to release 1.32.1 from the bitdefender repo * Add the result of ./vcpkg x-add-version --all * Replace the control file with a manifest Converted with ./vcpkg format-manifest * Add more details to bddisasm/vcpkg.json Added port-version, license, homepage, documentation, and port mantainers * Fix bddisasm/vcpkg.json * Fix the version file * List arm as not supported * Update version file * Fail install on arm * Use the new vcpkg_cmake_* functions * Remove the LICENSE file * Fix version * Update version file * build only static library bddisasm only supports being built as a static library, so say that in the portfile * bddisasm: Update port to version 1.33.0 Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
31 lines
877 B
CMake
31 lines
877 B
CMake
vcpkg_fail_port_install(ON_ARCH "arm")
|
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO bitdefender/bddisasm
|
|
REF v1.33.0
|
|
SHA512 d9085187026c1c362a53fcd9de1aa8872fc93d2cf6492a6f9b081396b28a8098121c62fd7aed5b1e07f0a42fbc74e781f0bc5f041363cd19ee25ac1c30ee0554
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
OPTIONS
|
|
-DBDD_INCLUDE_TOOL=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
file(INSTALL
|
|
${SOURCE_PATH}/LICENSE
|
|
DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}
|
|
RENAME copyright
|
|
)
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/bddisasm)
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|