Include extern directory in conan.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
6fc6dbd05f
commit
a6e1726dc5
|
@ -25,6 +25,7 @@ class PkmnLibConan(ConanFile):
|
||||||
|
|
||||||
def package(self):
|
def package(self):
|
||||||
self.copy("*.hpp", dst="include/PkmnLib", src="src")
|
self.copy("*.hpp", dst="include/PkmnLib", src="src")
|
||||||
|
self.copy("*.h", dst="include/extern", src="extern")
|
||||||
self.copy("*.dll", dst="bin", keep_path=False)
|
self.copy("*.dll", dst="bin", keep_path=False)
|
||||||
self.copy("*.so", dst="lib", keep_path=False)
|
self.copy("*.so", dst="lib", keep_path=False)
|
||||||
|
|
||||||
|
|
|
@ -29,8 +29,8 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
void ReturnContextToPool(asIScriptContext* ctx) {
|
void ReturnContextToPool(asIScriptContext* ctx) {
|
||||||
_pool.push_back(ctx);
|
|
||||||
ctx->Unprepare();
|
ctx->Unprepare();
|
||||||
|
_pool.push_back(ctx);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue