bx/cci.20221116

Base library providing utility functions and macros.
Recipe info
2022-12-14

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
bx/cci.20221116

Using bx

Note

If you are a new Conan user, we recommend reading the how to consume packages tutorial.

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]
bx/cci.20221116
[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("bx/cci.20221116")

    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): bx
  • CMake target name(s): bx::bx
  • pkg-config file name(s): bx.pc

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

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

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

#include "bx/allocator.h"
#include "bx/bounds.h"
#include "bx/bx.h"
#include "bx/commandline.h"
#include "bx/config.h"
#include "bx/constants.h"
#include "bx/cpu.h"
#include "bx/debug.h"
#include "bx/easing.h"
#include "bx/endian.h"
#include "bx/error.h"
#include "bx/file.h"
#include "bx/filepath.h"
#include "bx/float4x4_t.h"
#include "bx/handlealloc.h"
#include "bx/hash.h"
#include "bx/inline/allocator.inl"
#include "bx/inline/bounds.inl"
#include "bx/inline/bx.inl"
#include "bx/inline/cpu.inl"
#include "bx/inline/easing.inl"
#include "bx/inline/endian.inl"
#include "bx/inline/error.inl"
#include "bx/inline/float4x4_t.inl"
#include "bx/inline/handlealloc.inl"
#include "bx/inline/hash.inl"
#include "bx/inline/math.inl"
#include "bx/inline/mpscqueue.inl"
#include "bx/inline/mutex.inl"
#include "bx/inline/os.inl"
#include "bx/inline/pixelformat.inl"
#include "bx/inline/readerwriter.inl"
#include "bx/inline/ringbuffer.inl"
#include "bx/inline/rng.inl"
#include "bx/inline/simd128_langext.inl"
#include "bx/inline/simd128_neon.inl"
#include "bx/inline/simd128_ref.inl"
#include "bx/inline/simd128_sse.inl"
#include "bx/inline/simd128_swizzle.inl"
#include "bx/inline/simd256_avx.inl"
#include "bx/inline/simd256_ref.inl"
#include "bx/inline/simd_ni.inl"
#include "bx/inline/sort.inl"
#include "bx/inline/spscqueue.inl"
#include "bx/inline/string.inl"
#include "bx/inline/typetraits.inl"
#include "bx/inline/uint32_t.inl"
#include "bx/macros.h"
#include "bx/maputil.h"
#include "bx/math.h"
#include "bx/mpscqueue.h"
#include "bx/mutex.h"
#include "bx/os.h"
#include "bx/pixelformat.h"
#include "bx/platform.h"
#include "bx/process.h"
#include "bx/readerwriter.h"
#include "bx/ringbuffer.h"
#include "bx/rng.h"
#include "bx/semaphore.h"
#include "bx/settings.h"
#include "bx/simd_t.h"
#include "bx/sort.h"
#include "bx/spscqueue.h"
#include "bx/string.h"
#include "bx/thread.h"
#include "bx/timer.h"
#include "bx/typetraits.h"
#include "bx/uint32_t.h"
#include "bx/url.h"
#include "compat/freebsd/alloca.h"
#include "compat/freebsd/dirent.h"
#include "compat/freebsd/malloc.h"
#include "compat/freebsd/signal.h"
#include "compat/ios/malloc.h"
#include "compat/linux/sal.h"
#include "compat/mingw/alloca.h"
#include "compat/mingw/dirent.h"
#include "compat/mingw/sal.h"
#include "compat/mingw/salieri.h"
#include "compat/mingw/specstrings_strict.h"
#include "compat/mingw/specstrings_undef.h"
#include "compat/msvc/alloca.h"
#include "compat/msvc/dirent.h"
#include "compat/msvc/inttypes.h"
#include "compat/msvc/pre1600/stdint.h"
#include "compat/msvc/stdbool.h"
#include "compat/osx/malloc.h"
#include "sal.h"
#include "tinystl/allocator.h"
#include "tinystl/buffer.h"
#include "tinystl/hash.h"
#include "tinystl/hash_base.h"
#include "tinystl/new.h"
#include "tinystl/stddef.h"
#include "tinystl/string.h"
#include "tinystl/traits.h"
#include "tinystl/unordered_map.h"
#include "tinystl/unordered_set.h"
#include "tinystl/vector.h"