2022-01-18 11:39:21 +00:00
|
|
|
from conans import ConanFile, CMake
|
|
|
|
|
|
|
|
|
|
|
|
class StatusDesktop(ConanFile):
|
|
|
|
name = "status-desktop"
|
|
|
|
settings = "os", "compiler", "build_type", "arch"
|
|
|
|
|
2022-06-30 11:13:14 +00:00
|
|
|
requires = "gtest/1.11.0" #"fruit/3.6.0",
|
2022-01-18 11:39:21 +00:00
|
|
|
|
|
|
|
# cmake_find_package and cmake_find_package_multi should be substituted with CMakeDeps
|
|
|
|
# as soon as Conan 2.0 is released and all conan-center packages are adapted
|
|
|
|
generators = "CMakeToolchain", "cmake_find_package", "cmake_find_package_multi"
|
|
|
|
|
|
|
|
def build(self):
|
|
|
|
cmake = CMake(self)
|
|
|
|
cmake.configure()
|
|
|
|
cmake.build()
|