diff options
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;
+}
+
|