Skip to content

Commit

Permalink
conanfile.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dxli committed Aug 25, 2023
1 parent 52c87e0 commit 98b4f3a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 15 deletions.
19 changes: 19 additions & 0 deletions conanfile.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
from conan import ConanFile
from conan.tools.cmake import CMakeToolchain


class LibreCAD3(ConanFile):
settings = "os", "arch", "compiler", "build_type"
requires = "boost/1.80.0", "eigen/3.4.0", "freetype/2.13.0", "glew/2.2.0", "glfw/3.3.8", "glm/0.9.9.8", "libdxfrw/1.0.1", "libcurl/8.2.1", "lua/5.3.5", "rapidjson/1.1.0"
generators = "CMakeDeps"

def generate(self):
tc = CMakeToolchain(self)
tc.generate()

def build(self):
cmake = CMake(self)
cmake.configure()

def package(self):
self.copy("*.h", dst="include", keep_path=True)
15 changes: 0 additions & 15 deletions conanfile.txt

This file was deleted.

0 comments on commit 98b4f3a

Please sign in to comment.