mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 01:49:07 +08:00
b49b2bdf22
* cppcms * cudnn * devicenameresolver * epsilon * fann * cudnn license * devicenameresolver version * epsilon * version * Remove from ci baseline * license * version * libbf * version * Why are those ports unsupported on static? I think because of failing post build lint * version * cppcms * version * epsilon * version * typo * version * test on static * version * cppcms not supported on static * version * cudnn * device * version * try again... * version * version-date * version * [cppcms] Patch out tests & examples * version * Fix patch * version * remove debug include * version * [cppcms] copy pdbs * version
24 lines
831 B
CMake
24 lines
831 B
CMake
vcpkg_from_bitbucket(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO mrexodia/devicenameresolver
|
|
REF 0850d88fa6a759d79b3c859933870d9aa602aa79
|
|
SHA512 9161411d3c8c17f49f5ff9482a007a6608872c948ef856aa7076a45c246e8d777e4cd6b54169d9c1b9e99e7b383436e1a084e168fafff1ca5f2b28260bac1452
|
|
HEAD_REF master
|
|
PATCHES add-string-headfile.patch
|
|
)
|
|
|
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS_DEBUG
|
|
-DDISABLE_INSTALL_HEADERS=ON
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_copy_pdbs()
|
|
|
|
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/DeviceNameResolver.h" "__declspec(dllexport)" "")
|
|
|
|
file(INSTALL "${SOURCE_PATH}/readme.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/devicenameresolver" RENAME copyright)
|