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

13 lines
320 B
Python

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