forked from NHERI-SimCenter/R2DTool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
conanfile.py
27 lines (23 loc) · 936 Bytes
/
conanfile.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
from conans import ConanFile
class R2DTool(ConanFile):
settings = "os", "compiler", "build_type", "arch"
version = "1.1.1"
license = "BSD"
author = "NHERI SimCenter"
url = "https://github.com/NHERI-SimCenter/R2DTool"
description = "NHERI SimCenter R2D Tool"
settings = "os", "compiler", "build_type", "arch"
generators = "qmake"
requires = "jansson/2.13.1", \
"zlib/1.2.11", \
"libcurl/7.72.0"
build_policy = "missing"
def configure(self):
if self.settings.os == "Windows":
self.options["lapack"].visual_studio = True
self.options["lapack"].shared = True
def imports(self):
if self.settings.os == "Windows":
output = './%s' % self.settings.build_type
self.copy("lib*.dll", dst=output, src="bin")
self.copy("*", dst='{}/resources'.format(output), src="resources")