aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/scripts/test_ports/vcpkg-ci-vsgqt/portfile.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/scripts/test_ports/vcpkg-ci-vsgqt/portfile.cmake')
-rw-r--r--vcpkg/scripts/test_ports/vcpkg-ci-vsgqt/portfile.cmake22
1 files changed, 22 insertions, 0 deletions
diff --git a/vcpkg/scripts/test_ports/vcpkg-ci-vsgqt/portfile.cmake b/vcpkg/scripts/test_ports/vcpkg-ci-vsgqt/portfile.cmake
new file mode 100644
index 0000000..b7616f5
--- /dev/null
+++ b/vcpkg/scripts/test_ports/vcpkg-ci-vsgqt/portfile.cmake
@@ -0,0 +1,22 @@
+set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO vsg-dev/vsgQt
+ REF v0.4.0
+ SHA512 0c753d573eeec77bdddab0f3499b7fbabc4c0840246501dd83ef1e3a96effacf9cd9a84d5c1c35b49462520a2840ddd02eeefa92c55b23dc44ce9fc285cbee3b
+ HEAD_REF master
+)
+
+vcpkg_check_features(OUT_FEATURE_OPTIONS options
+ FEATURES
+ vsgxchange USE_VSGXCHANGE
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${CURRENT_PORT_DIR}/project"
+ OPTIONS
+ "-DSOURCE_PATH=${SOURCE_PATH}"
+ ${options}
+)
+vcpkg_cmake_build()