aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/scripts/test_ports/vcpkg-ci-arrow
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/scripts/test_ports/vcpkg-ci-arrow')
-rw-r--r--vcpkg/scripts/test_ports/vcpkg-ci-arrow/portfile.cmake10
-rw-r--r--vcpkg/scripts/test_ports/vcpkg-ci-arrow/vcpkg.json20
2 files changed, 30 insertions, 0 deletions
diff --git a/vcpkg/scripts/test_ports/vcpkg-ci-arrow/portfile.cmake b/vcpkg/scripts/test_ports/vcpkg-ci-arrow/portfile.cmake
new file mode 100644
index 0000000..46a1794
--- /dev/null
+++ b/vcpkg/scripts/test_ports/vcpkg-ci-arrow/portfile.cmake
@@ -0,0 +1,10 @@
+set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
+
+string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" ARROW_LINK_SHARED)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${CURRENT_INSTALLED_DIR}/share/arrow/example"
+ OPTIONS
+ -DARROW_LINK_SHARED=${ARROW_LINK_SHARED}
+)
+vcpkg_cmake_build()
diff --git a/vcpkg/scripts/test_ports/vcpkg-ci-arrow/vcpkg.json b/vcpkg/scripts/test_ports/vcpkg-ci-arrow/vcpkg.json
new file mode 100644
index 0000000..8bf9a80
--- /dev/null
+++ b/vcpkg/scripts/test_ports/vcpkg-ci-arrow/vcpkg.json
@@ -0,0 +1,20 @@
+{
+ "name": "vcpkg-ci-arrow",
+ "version-date": "2022-07-25",
+ "description": "Builds an example app in order to validate the arrow port.",
+ "license": "Apache-2.0",
+ "dependencies": [
+ {
+ "name": "arrow",
+ "default-features": false,
+ "features": [
+ "csv",
+ "example"
+ ]
+ },
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ }
+ ]
+}