mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 04:29:01 +08:00
ff7b7e8711
- [x] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). - [x] SHA512s are updated for each updated download. - [x] The "supports" clause reflects platforms that may be fixed by this new version. - [x] Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file. - [x] Any patches that are no longer applied are deleted from the port's directory. - [x] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [x] Only one version is added to each modified port's versions file. --------- Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
32 lines
993 B
CMake
32 lines
993 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO boost-ext/ut
|
|
REF "v${VERSION}"
|
|
SHA512 6894767ddae9d3ddd7aac2f77565f653e5051d213d39129a149405c6441a5f20a2878a5f548ad8d4ca37f70e44c6360c447f12df9c870149f9ed57a281214c24
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-DBOOST_UT_ALLOW_CPM_USE=OFF
|
|
-DBOOST_UT_BUILD_BENCHMARKS=OFF
|
|
-DBOOST_UT_BUILD_EXAMPLES=OFF
|
|
-DBOOST_UT_BUILD_TESTS=OFF
|
|
-DINCLUDE_INSTALL_DIR=include
|
|
-DBOOST_UT_DISABLE_MODULE=ON
|
|
)
|
|
vcpkg_cmake_install()
|
|
vcpkg_copy_pdbs()
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME ut CONFIG_PATH lib/cmake/ut-${VERSION})
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug"
|
|
"${CURRENT_PACKAGES_DIR}/lib"
|
|
)
|
|
|
|
|
|
configure_file("${CMAKE_CURRENT_LIST_DIR}/usage"
|
|
"${CURRENT_PACKAGES_DIR}/share/${PORT}/usage" COPYONLY)
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")
|