-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconanfile.py
34 lines (23 loc) · 879 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
28
29
30
31
32
33
34
from conans import ConanFile, CMake, tools
import os
import glob
class WindNinjaConan(ConanFile):
settings = "os", "compiler", "build_type", "arch"
name = "windmapper"
version = "0.1"
generators = "cmake_find_package"
options = {"openmp":[True, False]}
default_options = {"openmp":False}
def source(self):
pass
def requirements(self):
self.requires("windninja/3.5.3@CHM/stable" )
def deploy(self):
self.copy("*") # copy from current package
self.copy_deps("*.so*") # copy from dependencies
self.copy_deps("*.dylib*") # copy from dependencies
def imports(self):
self.copy("*.so*", "lib", "lib") # From bin to bin
self.copy("*.dylib*", "lib", "lib") # From lib to bin
self.copy('*','share','share')
self.copy("*", "bin", "bin") # From lib to bin