From 02a2f385501fd73b54f8982078481bdf5939d666 Mon Sep 17 00:00:00 2001 From: Lance Wallis Date: Mon, 17 Jun 2024 16:59:39 -0500 Subject: [PATCH] Initial conan support. --- conanfile.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 conanfile.py diff --git a/conanfile.py b/conanfile.py new file mode 100644 index 0000000..7cf3666 --- /dev/null +++ b/conanfile.py @@ -0,0 +1,21 @@ +from conan import ConanFile +from conan.tools.cmake import CMakeToolchain, CMake, cmake_layout, CMakeDeps + +class mxmlRecipe(ConanFile): + name = "mxml" + version = "4.0.4" + + settings = "os", "compiler", "build_type", "arch" + + def layout(self): + cmake_layout(self) + + def build(self): + cmake = CMake(self) + cmake.configure() + cmake.build() + + def package(self): + cmake = CMake(self) + cmake.install() +