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("DoricCore.lib", dst="lib",src="../../../binary/doric/debug")
        self.copy("DoricCore.dll", dst="lib",src="../../../binary/doric/debug")
        self.copy("DoricCore.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"]