corrade/2020.06

Corrade is a multiplatform utility library written in C++11/C++14.
Recipe info
2023-09-05

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
corrade/2020.06

Using corrade

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]
corrade/2020.06
[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("corrade/2020.06")

    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): Corrade
  • CMake target name(s): Corrade::Corrade
  • main => Corrade::Main
    utility => Corrade::Utility
    _corrade => corrade::_corrade
    test_suite => Corrade::TestSuite
    interconnect => Corrade::Interconnect
    plugin_manager => Corrade::PluginManager
    
  • pkg-config file name(s): corrade.pc
  • main => corrade_main.pc
    utility => corrade_utility.pc
    _corrade => corrade__corrade.pc
    test_suite => corrade_test_suite.pc
    interconnect => corrade_interconnect.pc
    plugin_manager => corrade_plugin_manager.pc
    

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

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

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

#include "Corrade/Containers/Array.h"
#include "Corrade/Containers/ArrayView.h"
#include "Corrade/Containers/ArrayViewStl.h"
#include "Corrade/Containers/ArrayViewStlSpan.h"
#include "Corrade/Containers/Containers.h"
#include "Corrade/Containers/EnumSet.h"
#include "Corrade/Containers/EnumSet.hpp"
#include "Corrade/Containers/GrowableArray.h"
#include "Corrade/Containers/LinkedList.h"
#include "Corrade/Containers/Optional.h"
#include "Corrade/Containers/OptionalStl.h"
#include "Corrade/Containers/Pointer.h"
#include "Corrade/Containers/PointerStl.h"
#include "Corrade/Containers/Reference.h"
#include "Corrade/Containers/ScopeGuard.h"
#include "Corrade/Containers/ScopedExit.h"
#include "Corrade/Containers/StaticArray.h"
#include "Corrade/Containers/StridedArrayView.h"
#include "Corrade/Containers/Tags.h"
#include "Corrade/Containers/constructHelpers.h"
#include "Corrade/Corrade.h"
#include "Corrade/Interconnect/Connection.h"
#include "Corrade/Interconnect/Emitter.h"
#include "Corrade/Interconnect/Interconnect.h"
#include "Corrade/Interconnect/Receiver.h"
#include "Corrade/Interconnect/StateMachine.h"
#include "Corrade/Interconnect/visibility.h"
#include "Corrade/PluginManager/AbstractManager.h"
#include "Corrade/PluginManager/AbstractManagingPlugin.h"
#include "Corrade/PluginManager/AbstractPlugin.h"
#include "Corrade/PluginManager/Manager.h"
#include "Corrade/PluginManager/PluginManager.h"
#include "Corrade/PluginManager/PluginMetadata.h"
#include "Corrade/PluginManager/visibility.h"
#include "Corrade/TestSuite/Comparator.h"
#include "Corrade/TestSuite/Compare/Container.h"
#include "Corrade/TestSuite/Compare/File.h"
#include "Corrade/TestSuite/Compare/FileToString.h"
#include "Corrade/TestSuite/Compare/FloatingPoint.h"
#include "Corrade/TestSuite/Compare/Numeric.h"
#include "Corrade/TestSuite/Compare/SortedContainer.h"
#include "Corrade/TestSuite/Compare/StringToFile.h"
#include "Corrade/TestSuite/TestSuite.h"
#include "Corrade/TestSuite/Tester.h"
#include "Corrade/TestSuite/visibility.h"
#include "Corrade/Utility/AbstractHash.h"
#include "Corrade/Utility/Algorithms.h"
#include "Corrade/Utility/Arguments.h"
#include "Corrade/Utility/Assert.h"
#include "Corrade/Utility/Configuration.h"
#include "Corrade/Utility/ConfigurationGroup.h"
#include "Corrade/Utility/ConfigurationValue.h"
#include "Corrade/Utility/Debug.h"
#include "Corrade/Utility/DebugStl.h"
#include "Corrade/Utility/Directory.h"
#include "Corrade/Utility/Endianness.h"
#include "Corrade/Utility/EndiannessBatch.h"
#include "Corrade/Utility/FileWatcher.h"
#include "Corrade/Utility/Format.h"
#include "Corrade/Utility/FormatStl.h"
#include "Corrade/Utility/Macros.h"
#include "Corrade/Utility/MurmurHash2.h"
#include "Corrade/Utility/Resource.h"
#include "Corrade/Utility/Sha1.h"
#include "Corrade/Utility/StlForwardArray.h"
#include "Corrade/Utility/StlForwardString.h"
#include "Corrade/Utility/StlForwardTuple.h"
#include "Corrade/Utility/StlForwardVector.h"
#include "Corrade/Utility/StlMath.h"
#include "Corrade/Utility/String.h"
#include "Corrade/Utility/System.h"
#include "Corrade/Utility/Tweakable.h"
#include "Corrade/Utility/TweakableParser.h"
#include "Corrade/Utility/TypeTraits.h"
#include "Corrade/Utility/Unicode.h"
#include "Corrade/Utility/Utility.h"
#include "Corrade/Utility/VisibilityMacros.h"
#include "Corrade/Utility/utilities.h"
#include "Corrade/Utility/visibility.h"
#include "Corrade/configure.h"
#include "Corrade/version.h"