mirror of
https://github.com/overte-org/overte.git
synced 2025-08-14 15:39:49 +02:00
📦 Added nvidia-texture-tools pkg
This commit is contained in:
parent
9e1e6e2e91
commit
fd52f2a83a
3 changed files with 41 additions and 0 deletions
4
conan-recipes/nvidia-texture-tools/all/conandata.yml
Normal file
4
conan-recipes/nvidia-texture-tools/all/conandata.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
sources:
|
||||
"2023.01":
|
||||
url: "https://github.com/JulianGro/nvidia-texture-tools/archive/2a56c2321e5923b00c59a19f1b1528a72b2e0f6e.tar.gz"
|
||||
sha256: "aaef7f283509fb57a683a00cfae2e5d6b48b809ea936bb5af523afa7b200e26f"
|
34
conan-recipes/nvidia-texture-tools/all/conanfile.py
Normal file
34
conan-recipes/nvidia-texture-tools/all/conanfile.py
Normal file
|
@ -0,0 +1,34 @@
|
|||
import os
|
||||
from conan import ConanFile
|
||||
from conan.tools.files import get, collect_libs
|
||||
from conan.tools.cmake import CMakeToolchain, CMake, cmake_layout
|
||||
|
||||
class NTTConan(ConanFile):
|
||||
name = "nvidia-texture-tools"
|
||||
license = "MIT"
|
||||
url = "https://github.com/JulianGro/nvidia-texture-tools"
|
||||
description = "Texture processing tools with support for Direct3D 10 and 11 formats."
|
||||
settings = "os", "compiler", "build_type", "arch"
|
||||
|
||||
def layout(self):
|
||||
cmake_layout(self)
|
||||
|
||||
def source(self):
|
||||
get(self, **self.conan_data["sources"][self.version], strip_root=True)
|
||||
|
||||
def generate(self):
|
||||
tc = CMakeToolchain(self)
|
||||
tc.variables["BUILD_TESTS"] = "OFF"
|
||||
tc.generate()
|
||||
|
||||
def build(self):
|
||||
cmake = CMake(self)
|
||||
cmake.configure()
|
||||
cmake.build()
|
||||
|
||||
def package(self):
|
||||
cmake = CMake(self)
|
||||
cmake.install()
|
||||
|
||||
def package_info(self):
|
||||
self.cpp_info.libs = collect_libs(self)
|
3
conan-recipes/nvidia-texture-tools/config.yml
Normal file
3
conan-recipes/nvidia-texture-tools/config.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
versions:
|
||||
"2019.02":
|
||||
folder: all
|
Loading…
Reference in a new issue