🚚 Moved cg-toolkit to separate repo
This commit is contained in:
4
cg-toolkit/all/conandata.yml
Normal file
4
cg-toolkit/all/conandata.yml
Normal file
@ -0,0 +1,4 @@
|
||||
sources:
|
||||
"3.1":
|
||||
url: "https://github.com/AnotherFoxGuy/cg-toolkit/archive/refs/tags/3.1.tar.gz"
|
||||
sha256: "f4a10e8a6db6517981692280910fea15398b7cce36bc6cfeadfce2748af439bb"
|
30
cg-toolkit/all/conanfile.py
Normal file
30
cg-toolkit/all/conanfile.py
Normal file
@ -0,0 +1,30 @@
|
||||
from conans import ConanFile, tools
|
||||
from conans.tools import os_info
|
||||
|
||||
|
||||
class GcConan(ConanFile):
|
||||
name = "cg-toolkit"
|
||||
version = "3.1"
|
||||
author = "Edgar Edgar@AnotherFoxGuy.com"
|
||||
settings = "os", "arch"
|
||||
|
||||
def source(self):
|
||||
tools.get(**self.conan_data["sources"][self.version], strip_root=True)
|
||||
|
||||
def package(self):
|
||||
self.copy("*.h", src="include", dst="include")
|
||||
if os_info.is_linux:
|
||||
if self.settings.arch.__contains__('64'):
|
||||
self.copy("*.so", src="lib64", dst="lib", keep_path=False)
|
||||
else:
|
||||
self.copy("*.so", src="lib", dst="lib", keep_path=False)
|
||||
else:
|
||||
if self.settings.arch.__contains__('64'):
|
||||
self.copy("*.lib", src="lib64", dst="lib", keep_path=False)
|
||||
self.copy("*.dll", src="bin64", dst="bin", keep_path=False)
|
||||
else:
|
||||
self.copy("*.lib", src="lib", dst="lib", keep_path=False)
|
||||
self.copy("*.dll", src="bin", dst="bin", keep_path=False)
|
||||
|
||||
def package_info(self):
|
||||
self.cpp_info.libs = tools.collect_libs(self)
|
3
cg-toolkit/config.yml
Normal file
3
cg-toolkit/config.yml
Normal file
@ -0,0 +1,3 @@
|
||||
versions:
|
||||
"3.1":
|
||||
folder: all
|
Reference in New Issue
Block a user