cute_headers/cci.20201022

Various single-file cross-platform C/C++ headers implementing self-contained libraries.
Recipe info
2023-06-27

Available packages
Header Only

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

Using cute_headers

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

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

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

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

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

#include "cute_alloc.h"
#include "cute_aseprite.h"
#include "cute_c2.h"
#include "cute_coroutine.h"
#include "cute_files.h"
#include "cute_filewatch.h"
#include "cute_font.h"
#include "cute_huff.h"
#include "cute_math.h"
#include "cute_math2d.h"
#include "cute_memfile.h"
#include "cute_path.h"
#include "cute_png.h"
#include "cute_sound.h"
#include "cute_sound_pitch_plugin.h"
#include "cute_spritebatch.h"
#include "cute_sync.h"
#include "cute_tiled.h"
#include "cute_time.h"
#include "cute_utf.h"