aboutsummaryrefslogtreecommitdiff
path: root/ports/effects11
diff options
context:
space:
mode:
authorChuck Walbourn <walbourn@users.noreply.github.com>2021-02-11 00:15:15 -0800
committerGitHub <noreply@github.com>2021-02-11 00:15:15 -0800
commitde686c49dfe60f0b8676604284448695bde51b68 (patch)
treed9a9d76b4f3a357b89ba182bdb61a36b3a66d59e /ports/effects11
parentdcabfa9719edb502800a1a6176ba56d197f98d86 (diff)
downloadvcpkg-de686c49dfe60f0b8676604284448695bde51b68.tar.gz
vcpkg-de686c49dfe60f0b8676604284448695bde51b68.zip
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>
Diffstat (limited to 'ports/effects11')
-rw-r--r--ports/effects11/portfile.cmake24
-rw-r--r--ports/effects11/vcpkg.json7
2 files changed, 31 insertions, 0 deletions
diff --git a/ports/effects11/portfile.cmake b/ports/effects11/portfile.cmake
new file mode 100644
index 000000000..e5ebf84ab
--- /dev/null
+++ b/ports/effects11/portfile.cmake
@@ -0,0 +1,24 @@
+vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+
+vcpkg_fail_port_install(ON_TARGET "LINUX" "OSX" "ANDROID")
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO microsoft/FX11
+ REF feb2021
+ SHA512 bdf35347582646e782c20a96180c8286786da46583527b76b2d348cd76a75285a31ebb88297962cd279c09bbd416c15c0d25ae91881ffebbf9e8ce2f21912f16
+ HEAD_REF master
+ FILE_DISAMBIGUATOR 1
+)
+
+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)
diff --git a/ports/effects11/vcpkg.json b/ports/effects11/vcpkg.json
new file mode 100644
index 000000000..7cdf47eb1
--- /dev/null
+++ b/ports/effects11/vcpkg.json
@@ -0,0 +1,7 @@
+{
+ "name": "effects11",
+ "version-string": "11.26",
+ "description": "Effects for Direct3D 11 (FX11) is a management runtime for authoring HLSL shaders, render state, and runtime variables together.",
+ "homepage": "https://github.com/microsoft/FX11",
+ "supports": "windows"
+}