generated from cpp-best-practices/gui_starter_template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
conanfile.py
33 lines (30 loc) · 971 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
31
32
33
from conans import ConanFile
class CudaCamConan(ConanFile):
# Note: options are copied from CMake boolean options.
# When turned off, CMake sometimes passes them as empty strings.
options = {
"use_imgui": ["ON", "OFF"]
}
default_options = {
"use_imgui": "ON",
"opencv:with_ffmpeg": False,
"glad:extensions":"GL_ARB_vertex_buffer_object, GL_ARB_pixel_buffer_object"
}
name = "CudaCam"
version = "0.4"
requires = (
"catch2/2.13.7",
"docopt.cpp/0.6.2",
"fmt/[>=8.0.1]",
"spdlog/[>=1.9.2]",
"opencv/[>=4.5.3]"
)
settings = "os", "compiler", "arch", "build_type"
exports = "*"
generators = "cmake_find_package_multi"
build_policy = "missing"
def requirements(self):
if self.options.use_imgui == "ON":
self.requires("sdl/[>=2.0.12]")
self.requires("imgui/[>=1.85]")
self.requires("glad/[>=0.1.29]")