-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconanfile.py
31 lines (25 loc) · 902 Bytes
/
conanfile.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
from conans import ConanFile, CMake
class QuickVizConan(ConanFile):
name = "quickviz"
version = "0.2.0"
license = "MIT"
author = "<Ruixiang Du> <[email protected]>"
url = "<Package recipe repository url here, for issues about the package>"
description = "https://github.com/rxdu/quickviz"
topics = ("imgui", "implot", "cairo", "visualization", "gui")
settings = "os", "compiler", "build_type", "arch"
options = {"shared": [True, False]}
default_options = {"shared": False}
generators = "cmake_paths"
exports_sources = "*"
def build(self):
cmake = CMake(self)
cmake.configure()
cmake.build()
def package(self):
cmake = CMake(self)
cmake.configure()
cmake.install()
def package_info(self):
self.cpp_info.includedirs = ["include"]
self.cpp_info.libs = ["imview"]