libbasisu/1.15.0

Basis Universal Supercompressed GPU Texture Codec
Recipe info
2023-08-18

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
libbasisu/1.15.0

Using libbasisu

Note

If you are new with Conan, we recommend to read the section how to consume packages.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
libbasisu/1.15.0
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("libbasisu/1.15.0")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): libbasisu
  • CMake target name(s): libbasisu::libbasisu
  • pkg-config file name(s): libbasisu.pc

A simple use case using the CMake file name and the global target:

# ...
find_package(libbasisu REQUIRED)
# ...
target_link_libraries(YOUR_TARGET libbasisu::libbasisu)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the libbasisu homepage listed above:

#include "encoder/apg_bmp.h"
#include "encoder/basisu_astc_decomp.h"
#include "encoder/basisu_backend.h"
#include "encoder/basisu_basis_file.h"
#include "encoder/basisu_bc7enc.h"
#include "encoder/basisu_comp.h"
#include "encoder/basisu_enc.h"
#include "encoder/basisu_etc.h"
#include "encoder/basisu_frontend.h"
#include "encoder/basisu_global_selector_palette_helpers.h"
#include "encoder/basisu_gpu_texture.h"
#include "encoder/basisu_kernels_declares.h"
#include "encoder/basisu_kernels_imp.h"
#include "encoder/basisu_miniz.h"
#include "encoder/basisu_pvrtc1_4.h"
#include "encoder/basisu_resampler.h"
#include "encoder/basisu_resampler_filters.h"
#include "encoder/basisu_ssim.h"
#include "encoder/basisu_uastc_enc.h"
#include "encoder/cppspmd_flow.h"
#include "encoder/cppspmd_math.h"
#include "encoder/cppspmd_math_declares.h"
#include "encoder/cppspmd_sse.h"
#include "encoder/cppspmd_type_aliases.h"
#include "encoder/jpgd.h"
#include "encoder/lodepng.h"
#include "libbasisu/encoder/apg_bmp.h"
#include "libbasisu/encoder/basisu_astc_decomp.h"
#include "libbasisu/encoder/basisu_backend.h"
#include "libbasisu/encoder/basisu_basis_file.h"
#include "libbasisu/encoder/basisu_bc7enc.h"
#include "libbasisu/encoder/basisu_comp.h"
#include "libbasisu/encoder/basisu_enc.h"
#include "libbasisu/encoder/basisu_etc.h"
#include "libbasisu/encoder/basisu_frontend.h"
#include "libbasisu/encoder/basisu_global_selector_palette_helpers.h"
#include "libbasisu/encoder/basisu_gpu_texture.h"
#include "libbasisu/encoder/basisu_kernels_declares.h"
#include "libbasisu/encoder/basisu_kernels_imp.h"
#include "libbasisu/encoder/basisu_miniz.h"
#include "libbasisu/encoder/basisu_pvrtc1_4.h"
#include "libbasisu/encoder/basisu_resampler.h"
#include "libbasisu/encoder/basisu_resampler_filters.h"
#include "libbasisu/encoder/basisu_ssim.h"
#include "libbasisu/encoder/basisu_uastc_enc.h"
#include "libbasisu/encoder/cppspmd_flow.h"
#include "libbasisu/encoder/cppspmd_math.h"
#include "libbasisu/encoder/cppspmd_math_declares.h"
#include "libbasisu/encoder/cppspmd_sse.h"
#include "libbasisu/encoder/cppspmd_type_aliases.h"
#include "libbasisu/encoder/jpgd.h"
#include "libbasisu/encoder/lodepng.h"
#include "libbasisu/transcoder/basisu.h"
#include "libbasisu/transcoder/basisu_containers.h"
#include "libbasisu/transcoder/basisu_containers_impl.h"
#include "libbasisu/transcoder/basisu_file_headers.h"
#include "libbasisu/transcoder/basisu_global_selector_cb.h"
#include "libbasisu/transcoder/basisu_global_selector_palette.h"
#include "libbasisu/transcoder/basisu_transcoder.h"
#include "libbasisu/transcoder/basisu_transcoder_internal.h"
#include "libbasisu/transcoder/basisu_transcoder_uastc.h"
#include "transcoder/basisu.h"
#include "transcoder/basisu_containers.h"
#include "transcoder/basisu_containers_impl.h"
#include "transcoder/basisu_file_headers.h"
#include "transcoder/basisu_global_selector_cb.h"
#include "transcoder/basisu_global_selector_palette.h"
#include "transcoder/basisu_transcoder.h"
#include "transcoder/basisu_transcoder_internal.h"
#include "transcoder/basisu_transcoder_uastc.h"