choc/cci.20230918

A collection of header only classes, permissively licensed, to provide basic useful tasks with the bare-minimum of dependencies.
Recipe info
2023-09-29

Available packages
Header Only

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

Using choc

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

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

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

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

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

#include "choc/audio/choc_AudioFileFormat.h"
#include "choc/audio/choc_AudioFileFormat_FLAC.h"
#include "choc/audio/choc_AudioFileFormat_MP3.h"
#include "choc/audio/choc_AudioFileFormat_Ogg.h"
#include "choc/audio/choc_AudioFileFormat_WAV.h"
#include "choc/audio/choc_AudioMIDIBlockDispatcher.h"
#include "choc/audio/choc_AudioSampleData.h"
#include "choc/audio/choc_MIDI.h"
#include "choc/audio/choc_MIDIFile.h"
#include "choc/audio/choc_MIDISequence.h"
#include "choc/audio/choc_Oscillators.h"
#include "choc/audio/choc_SampleBufferUtilities.h"
#include "choc/audio/choc_SampleBuffers.h"
#include "choc/audio/choc_SincInterpolator.h"
#include "choc/containers/choc_COM.h"
#include "choc/containers/choc_DirtyList.h"
#include "choc/containers/choc_FIFOReadWritePosition.h"
#include "choc/containers/choc_MultipleReaderMultipleWriterFIFO.h"
#include "choc/containers/choc_NonAllocatingStableSort.h"
#include "choc/containers/choc_SingleReaderMultipleWriterFIFO.h"
#include "choc/containers/choc_SingleReaderSingleWriterFIFO.h"
#include "choc/containers/choc_SmallVector.h"
#include "choc/containers/choc_Span.h"
#include "choc/containers/choc_Value.h"
#include "choc/containers/choc_VariableSizeFIFO.h"
#include "choc/gui/choc_DesktopWindow.h"
#include "choc/gui/choc_MessageLoop.h"
#include "choc/gui/choc_WebView.h"
#include "choc/javascript/choc_javascript.h"
#include "choc/javascript/choc_javascript_Duktape.h"
#include "choc/javascript/choc_javascript_QuickJS.h"
#include "choc/javascript/choc_javascript_Timer.h"
#include "choc/math/choc_MathHelpers.h"
#include "choc/memory/choc_AlignedMemoryBlock.h"
#include "choc/memory/choc_Base64.h"
#include "choc/memory/choc_Endianness.h"
#include "choc/memory/choc_ObjectPointer.h"
#include "choc/memory/choc_ObjectReference.h"
#include "choc/memory/choc_PoolAllocator.h"
#include "choc/memory/choc_VariableLengthEncoding.h"
#include "choc/memory/choc_xxHash.h"
#include "choc/platform/choc_Assert.h"
#include "choc/platform/choc_DetectDebugger.h"
#include "choc/platform/choc_DisableAllWarnings.h"
#include "choc/platform/choc_DynamicLibrary.h"
#include "choc/platform/choc_FileWatcher.h"
#include "choc/platform/choc_HighResolutionSteadyClock.h"
#include "choc/platform/choc_MemoryDLL.h"
#include "choc/platform/choc_Platform.h"
#include "choc/platform/choc_ReenableAllWarnings.h"
#include "choc/text/choc_CodePrinter.h"
#include "choc/text/choc_Files.h"
#include "choc/text/choc_FloatToString.h"
#include "choc/text/choc_HTML.h"
#include "choc/text/choc_JSON.h"
#include "choc/text/choc_OpenSourceLicenseList.h"
#include "choc/text/choc_StringUtilities.h"
#include "choc/text/choc_TextTable.h"
#include "choc/text/choc_UTF8.h"
#include "choc/text/choc_Wildcard.h"
#include "choc/threading/choc_SpinLock.h"
#include "choc/threading/choc_TaskThread.h"
#include "choc/threading/choc_ThreadSafeFunctor.h"