vcpkg/ports/dxut/portfile.cmake
Chuck Walbourn de686c49df
Update DXUT port and add Effects11 (FX) port (#16101)
* Update dxut port, added effects11 port

* DXUT does not support UWP

* Fixed FX11 CMake to support UWP

* DXUT supports arm64 desktop

* Update baseline

* Now that these build with CMake, no need to exclude staticcrt

* rev'd port version

* Fix versions

* Update versions/d-/dxut.json

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

* Update versions/e-/effects11.json

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

* Update ports/dxut/vcpkg.json

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update versions/baseline.json

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update versions/d-/dxut.json

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update versions/e-/effects11.json

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update versions/baseline.json

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update ports/effects11/vcpkg.json

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Updated version hash

* Fixed format complaint

* Fixed baseline

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2021-02-11 00:15:15 -08:00

24 lines
670 B
CMake

vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_fail_port_install(ON_TARGET "LINUX" "OSX" "UWP" "ANDROID")
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO microsoft/DXUT
REF feb2021
SHA512 576692b79e67a9fd0b39b6e20c519fe61ad18525db663071f446f3c2e0ae3f009f67f00be45baf52749810af1ddc995ad0e5e4608d7f42d08116ff6e91bccb22
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
)
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH cmake)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)