Debian Codegraph @

conanfile.py

raw symbols SCIP
1 from conan import ConanFile
2 from conan.tools.cmake import CMake, cmake_layout, CMakeDeps, CMakeToolchain
3
4 class LiRi(ConanFile):
5 settings = "os", "compiler", "build_type", "arch"
6 requires = "sdl/[~2.28.5]", "sdl_mixer/[~2.8.0]", "openssl/1.1.1w"
7
8 def layout(self):
9 cmake_layout(self)
10
11 def configure(self):
12 self.options["sdl_mixer/*"].mpg123 = False
13 self.options["sdl_mixer/*"].opus = False
14 self.options["sdl_mixer/*"].ogg = False
15 self.options["sdl_mixer/*"].flac = False
16 self.options["sdl_mixer/*"].mad = False
17
18 def generate(self):
19 deps = CMakeDeps(self)
20 deps.generate()
21 tc = CMakeToolchain(self)
22 tc.user_presets_path = 'ConanPresets.json'
23 tc.generate()