split debug & release for windows

This commit is contained in:
王劲鹏
2021-05-13 14:16:07 +08:00
committed by osborn
parent dd2639bf4e
commit 00047dc132
5 changed files with 33 additions and 14 deletions

View File

@@ -0,0 +1,15 @@
from conans import ConanFile
class DoricCore(ConanFile):
license = "MIT"
name = "DoricCore"
settings = "os", "compiler", "build_type", "arch"
def package(self):
self.copy("*.h", dst="include", src="../../doric")
self.copy("*.lib", dst="lib",src="../../../binary/doric/debug")
self.copy("*.pdb", dst="bin",src="../../../binary/doric/debug")
self.copy("*", dst="qml",src="../resources")
self.copy("*.js", dst="js",src="../../../../doric-js/bundle")
def package_info(self):
self.cpp_info.libs = ["DoricCore"]