aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/scripts/test_ports/vcpkg-ci-libgwenhywfar/project
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/scripts/test_ports/vcpkg-ci-libgwenhywfar/project
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/scripts/test_ports/vcpkg-ci-libgwenhywfar/project')
-rw-r--r--vcpkg/scripts/test_ports/vcpkg-ci-libgwenhywfar/project/CMakeLists.txt11
-rw-r--r--vcpkg/scripts/test_ports/vcpkg-ci-libgwenhywfar/project/main.c8
2 files changed, 19 insertions, 0 deletions
diff --git a/vcpkg/scripts/test_ports/vcpkg-ci-libgwenhywfar/project/CMakeLists.txt b/vcpkg/scripts/test_ports/vcpkg-ci-libgwenhywfar/project/CMakeLists.txt
new file mode 100644
index 0000000..7e04f35
--- /dev/null
+++ b/vcpkg/scripts/test_ports/vcpkg-ci-libgwenhywfar/project/CMakeLists.txt
@@ -0,0 +1,11 @@
+cmake_minimum_required(VERSION 3.10)
+project(libgwenhywfar-test C)
+
+find_package(PkgConfig REQUIRED)
+
+block()
+ pkg_check_modules(gwenhywfar IMPORTED_TARGET REQUIRED gwenhywfar)
+
+ add_executable(libgwenhywfar_pkgconfig main.c)
+ target_link_libraries(libgwenhywfar_pkgconfig PkgConfig::gwenhywfar)
+endblock()
diff --git a/vcpkg/scripts/test_ports/vcpkg-ci-libgwenhywfar/project/main.c b/vcpkg/scripts/test_ports/vcpkg-ci-libgwenhywfar/project/main.c
new file mode 100644
index 0000000..6a24a6a
--- /dev/null
+++ b/vcpkg/scripts/test_ports/vcpkg-ci-libgwenhywfar/project/main.c
@@ -0,0 +1,8 @@
+#include <gwenhywfar/gwenhywfar.h> /* based on gwenhywfar.pc */
+
+int main()
+{
+ int result = GWEN_Init();
+ GWEN_Fini();
+ return result;
+}