24 lines
673 B
Python
24 lines
673 B
Python
from conan import ConanFile
|
|
from conan.tools.cmake import CMake, cmake_layout
|
|
|
|
class SimpleCallerConan(ConanFile):
|
|
name = "simple_caller"
|
|
version = "1.0.0"
|
|
settings = "os", "compiler", "build_type", "arch"
|
|
requires = "simple_library/1.0.0@ras/stable" # Replace with the actual reference
|
|
generators = "CMakeDeps", "CMakeToolchain"
|
|
|
|
def layout(self):
|
|
cmake_layout(self)
|
|
|
|
def imports(self):
|
|
self.copy("*.dll", dst="bin", src="bin")
|
|
self.copy("*.dylib*", dst="bin", src="lib")
|
|
self.copy("*.so", dst="bin", src="lib")
|
|
|
|
def build(self):
|
|
cmake = CMake(self)
|
|
cmake.configure()
|
|
cmake.build()
|
|
|