diff options
Diffstat (limited to 'vcpkg/scripts/test_ports/vcpkg-ci-libgwenhywfar/project')
| -rw-r--r-- | vcpkg/scripts/test_ports/vcpkg-ci-libgwenhywfar/project/CMakeLists.txt | 11 | ||||
| -rw-r--r-- | vcpkg/scripts/test_ports/vcpkg-ci-libgwenhywfar/project/main.c | 8 |
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; +} |