mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 20:18:05 +08:00
27 lines
736 B
CMake
27 lines
736 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO DNKpp/mimicpp
|
|
REF "v${VERSION}"
|
|
SHA512 e713c9d6accc2d1b4cf5b87f46537ec6fe0827b4b3ab9c3bcf437616b51859b229a8abc1fe1dbe41a76992289c4c5160a888a5e5a193cb43f8c6297a5700b529
|
|
HEAD_REF main
|
|
)
|
|
|
|
set(VCPKG_BUILD_TYPE release) # header-only port
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-DMIMICPP_BUILD_TESTS=OFF
|
|
-DMIMICPP_BUILD_EXAMPLES=OFF
|
|
-DMIMICPP_CONFIGURE_DOXYGEN=OFF
|
|
-DMIMICPP_ENABLE_AMALGAMATE_HEADERS=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/mimipp/cmake)
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE_1_0.txt")
|