aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/scripts/test_ports/vcpkg-ci-whisper-cpp/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-whisper-cpp/project
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/scripts/test_ports/vcpkg-ci-whisper-cpp/project')
-rw-r--r--vcpkg/scripts/test_ports/vcpkg-ci-whisper-cpp/project/CMakeLists.txt14
-rw-r--r--vcpkg/scripts/test_ports/vcpkg-ci-whisper-cpp/project/main.cxx7
2 files changed, 21 insertions, 0 deletions
diff --git a/vcpkg/scripts/test_ports/vcpkg-ci-whisper-cpp/project/CMakeLists.txt b/vcpkg/scripts/test_ports/vcpkg-ci-whisper-cpp/project/CMakeLists.txt
new file mode 100644
index 0000000..a9e3405
--- /dev/null
+++ b/vcpkg/scripts/test_ports/vcpkg-ci-whisper-cpp/project/CMakeLists.txt
@@ -0,0 +1,14 @@
+cmake_minimum_required(VERSION 3.16)
+project(whisper-cpp-test)
+
+find_package(whisper CONFIG REQUIRED)
+
+add_executable(test-cmake main.cxx)
+add_library(imported::whisper ALIAS whisper)
+target_link_libraries(test-cmake PRIVATE imported::whisper)
+
+find_package(PkgConfig REQUIRED)
+pkg_check_modules(whisper-cpp whisper REQUIRED IMPORTED_TARGET)
+
+add_executable(test-pkconfig main.cxx)
+target_link_libraries(test-pkconfig PRIVATE PkgConfig::whisper-cpp)
diff --git a/vcpkg/scripts/test_ports/vcpkg-ci-whisper-cpp/project/main.cxx b/vcpkg/scripts/test_ports/vcpkg-ci-whisper-cpp/project/main.cxx
new file mode 100644
index 0000000..c9228dd
--- /dev/null
+++ b/vcpkg/scripts/test_ports/vcpkg-ci-whisper-cpp/project/main.cxx
@@ -0,0 +1,7 @@
+#include <whisper.h>
+
+int main()
+{
+ auto context_params = whisper_context_default_params();
+ return 0;
+}