diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/scripts/test_ports/vcpkg-ci-orange-math/project | |
Diffstat (limited to 'vcpkg/scripts/test_ports/vcpkg-ci-orange-math/project')
| -rw-r--r-- | vcpkg/scripts/test_ports/vcpkg-ci-orange-math/project/CMakeLists.txt | 11 | ||||
| -rw-r--r-- | vcpkg/scripts/test_ports/vcpkg-ci-orange-math/project/main.cpp | 8 |
2 files changed, 19 insertions, 0 deletions
diff --git a/vcpkg/scripts/test_ports/vcpkg-ci-orange-math/project/CMakeLists.txt b/vcpkg/scripts/test_ports/vcpkg-ci-orange-math/project/CMakeLists.txt new file mode 100644 index 0000000..d8007be --- /dev/null +++ b/vcpkg/scripts/test_ports/vcpkg-ci-orange-math/project/CMakeLists.txt @@ -0,0 +1,11 @@ +cmake_minimum_required(VERSION 3.26)
+
+project(vcpkg-ci-orange-math LANGUAGES CXX)
+
+set(CMAKE_CXX_STANDARD 23)
+set(CMAKE_CXX_STANDARD_REQUIRED ON)
+
+add_executable(main main.cpp)
+
+find_package(omath CONFIG REQUIRED)
+target_link_libraries(main PRIVATE omath::omath)
diff --git a/vcpkg/scripts/test_ports/vcpkg-ci-orange-math/project/main.cpp b/vcpkg/scripts/test_ports/vcpkg-ci-orange-math/project/main.cpp new file mode 100644 index 0000000..ae7779f --- /dev/null +++ b/vcpkg/scripts/test_ports/vcpkg-ci-orange-math/project/main.cpp @@ -0,0 +1,8 @@ +#include <omath/omath.hpp>
+
+int main()
+{
+ omath::Vector2 w = omath::Vector2(20.0, 30.0);
+ return 0;
+}
+
|