Setup
This commit is contained in:
+4
-2
@@ -5,7 +5,7 @@ import conan.tools.cmake
|
||||
class product_fpol_conan(conan.ConanFile):
|
||||
name = "product_fpol"
|
||||
version = "latest"
|
||||
description = "Fantasy Politics web application scaffold"
|
||||
description = "Fantasy Politics catalog and scoring prototype"
|
||||
package_type = "application"
|
||||
settings = "os", "arch", "compiler", "build_type"
|
||||
options = {"with_tests": [True, False]}
|
||||
@@ -17,10 +17,12 @@ class product_fpol_conan(conan.ConanFile):
|
||||
"src/*.cpp",
|
||||
"src/*.hpp",
|
||||
"tests/*.py",
|
||||
"data/demo/*.json",
|
||||
)
|
||||
def requirements(self):
|
||||
self.requires(str(self.python_requires["modulus"].ref), transitive_headers=True, transitive_libs=True, options={"with_openssl": True})
|
||||
self.requires(str(self.python_requires["modulus"].ref), transitive_headers=True, transitive_libs=True, options={"with_openssl": True, "with_sqlite": True})
|
||||
self.requires("ligo/latest", transitive_headers=True, transitive_libs=True)
|
||||
self.requires("noto/latest", transitive_headers=True, transitive_libs=True)
|
||||
def generate(self):
|
||||
dependencies = conan.tools.cmake.CMakeDeps(self)
|
||||
dependencies.generate()
|
||||
|
||||
Reference in New Issue
Block a user