Add CMake presets and update conanfile for SDL3Cpp integration

This commit is contained in:
2026-01-03 22:15:51 +00:00
parent 62a1d98033
commit 192eb12474
3 changed files with 53 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
from conan import ConanFile
from conan.tools.cmake import cmake_layout
class SDL3CppConan(ConanFile):
name = "sdl3cpp"
@@ -14,6 +15,9 @@ class SDL3CppConan(ConanFile):
}
generators = "CMakeDeps", "CMakeToolchain", "VirtualRunEnv"
def layout(self):
cmake_layout(self)
def requirements(self):
self.requires("lua/5.4.8")
self.requires("sdl/3.2.20")