Files
klist/conanfile.py
phoenix 2053f2132d
klist / build (push) Successful in 29s
Spruce it up (#1)
Reviewed-on: #1
2026-09-19 16:52:06 -04:00

38 lines
969 B
Python

from conan import ConanFile
from conan.tools.cmake import CMake, CMakeToolchain, cmake_layout
from conan.tools.files import copy
import os
class klistConan(ConanFile):
name = "klist"
version = "0.0.1"
description = "A list library"
url = "https://git.kundeng.us/phoenix/klist"
homepage = "https://git.kundeng.us/phoenix/klist"
settings = "os", "compiler", "build_type", "arch"
generators = "CMakeToolchain", "CMakeDeps"
# Only add dependencies if needed
requires = "cmocka/1.1.8"
def layout(self):
cmake_layout(self)
def build_requirements(self):
self.tool_requires("cmake/4.4.3")
def build(self):
cmake = CMake(self)
cmake.configure()
cmake.build()
def package(self):
cmake = CMake(self)
cmake.install()
def package_info(self):
self.cpp_info.libs = ["klist"]
self.cpp_info.includedirs = ["include"]