code-examples/2024/07/cpp_algorithms2/conanfile.py

13 lines
323 B
Python

from conan import ConanFile
from conan.tools.cmake import cmake_layout
class AlgoBoostConan(ConanFile):
settings = "os", "compiler", "build_type", "arch"
generators = "CMakeDeps", "CMakeToolchain"
def requirements(self):
self.requires("boost/1.85.0")
def layout(self):
cmake_layout(self)