dep-stormlib/conanfile.py
cen1 642dc39efb 1. Bump Debian CI runner to trixie.
2. Apply the same logic to use system libs for libtommath (as previously for zlib and bzip).
3. Add conan support and a build job to test it.
4. Some CMake modernization.
5. I noticed Cmake has some conditionals for BSD so let's also make do test builds on FreeBSD and not brek anything there.
2026-07-09 17:29:37 +02:00

17 lines
No EOL
398 B
Python

from conan import ConanFile
from conan.tools.cmake import CMakeToolchain
class StormLib(ConanFile):
settings = "os", "compiler", "build_type", "arch"
generators = "CMakeDeps"
requires = (
"zlib/1.3.1",
"bzip2/1.0.8",
"libtommath/1.3.0",
)
def generate(self):
tc = CMakeToolchain(self)
tc.user_presets_path = False
tc.generate()