-
Notifications
You must be signed in to change notification settings - Fork 0
/
conanfile.py
27 lines (21 loc) · 913 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
import os
from conan import ConanFile
from conan.tools.cmake import cmake_layout
from conan.tools.files import copy
class FlightDataPlotter(ConanFile):
settings = "os", "compiler", "build_type", "arch"
generators = "CMakeDeps", "CMakeToolchain"
def requirements(self):
self.requires("imgui/1.90")
self.requires("implot/0.16")
self.requires("sdl/2.28.5")
self.requires("sdbus-cpp/1.5.0")
self.requires("asio/1.29.0")
self.requires("eigen/3.4.0")
def generate(self):
copy(self, "*sdl2*", os.path.join(self.dependencies["imgui"].package_folder,
"res", "bindings"), os.path.join(self.source_folder, "bindings"))
copy(self, "*opengl3*", os.path.join(self.dependencies["imgui"].package_folder,
"res", "bindings"), os.path.join(self.source_folder, "bindings"))
def layout(self):
cmake_layout(self)