7bitconf/1.2.0

7bitConf is a simple C++17 centralized configuration provider library.
Recipe info
2024-02-24

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
7bitconf/1.2.0

Using 7bitconf

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]
7bitconf/1.2.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("7bitconf/1.2.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): 7bitConf
  • CMake target name(s): 7bitConf::7bitConf
  • pkg-config file name(s): 7bitconf.pc

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

# ...
find_package(7bitConf REQUIRED)
# ...
target_link_libraries(YOUR_TARGET 7bitConf::7bitConf)

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

#include "SevenBit/Conf.hpp"
#include "SevenBit/Conf/CmakeDef.hpp"
#include "SevenBit/Conf/CmakeDef.hpp.input"
#include "SevenBit/Conf/CommandLineParserBuilder.hpp"
#include "SevenBit/Conf/CommandLineParserConfig.hpp"
#include "SevenBit/Conf/ConfigurationBuilder.hpp"
#include "SevenBit/Conf/Details/CommandLineParser.hpp"
#include "SevenBit/Conf/Details/Configuration.hpp"
#include "SevenBit/Conf/Details/ContainerUtils.hpp"
#include "SevenBit/Conf/Details/DefaultDeserializers.hpp"
#include "SevenBit/Conf/Details/Deserializers.hpp"
#include "SevenBit/Conf/Details/EnvironmentVarsParser.hpp"
#include "SevenBit/Conf/Details/Impl/CommandLineParser.hpp"
#include "SevenBit/Conf/Details/Impl/Configuration.hpp"
#include "SevenBit/Conf/Details/Impl/DefaultDeserializers.hpp"
#include "SevenBit/Conf/Details/Impl/Deserializers.hpp"
#include "SevenBit/Conf/Details/Impl/EnvironmentVarsParser.hpp"
#include "SevenBit/Conf/Details/Impl/JsonExt.hpp"
#include "SevenBit/Conf/Details/Impl/SettingSplitter.hpp"
#include "SevenBit/Conf/Details/Impl/StringUtils.hpp"
#include "SevenBit/Conf/Details/Impl/ValueDeserializersMap.hpp"
#include "SevenBit/Conf/Details/JsonExt.hpp"
#include "SevenBit/Conf/Details/Require.hpp"
#include "SevenBit/Conf/Details/SettingSplitter.hpp"
#include "SevenBit/Conf/Details/StringUtils.hpp"
#include "SevenBit/Conf/Details/ValueDeserializersMap.hpp"
#include "SevenBit/Conf/EnvironmentVarsParserBuilder.hpp"
#include "SevenBit/Conf/EnvironmentVarsParserConfig.hpp"
#include "SevenBit/Conf/Exceptions.hpp"
#include "SevenBit/Conf/Export.hpp"
#include "SevenBit/Conf/IConfiguration.hpp"
#include "SevenBit/Conf/IConfigurationBuilder.hpp"
#include "SevenBit/Conf/IConfigurationProvider.hpp"
#include "SevenBit/Conf/IConfigurationSource.hpp"
#include "SevenBit/Conf/IDeserializer.hpp"
#include "SevenBit/Conf/IObject.hpp"
#include "SevenBit/Conf/ISettingSplitter.hpp"
#include "SevenBit/Conf/ISettingsParser.hpp"
#include "SevenBit/Conf/IValueDeserializersMap.hpp"
#include "SevenBit/Conf/Impl/CommandLineParserBuilder.hpp"
#include "SevenBit/Conf/Impl/ConfigurationBuilder.hpp"
#include "SevenBit/Conf/Impl/EnvironmentVarsParserBuilder.hpp"
#include "SevenBit/Conf/Impl/Exceptions.hpp"
#include "SevenBit/Conf/Json.hpp"
#include "SevenBit/Conf/LibraryConfig.hpp"
#include "SevenBit/Conf/ObjectHolder.hpp"
#include "SevenBit/Conf/Sources/AppSettingsConfiguration.hpp"
#include "SevenBit/Conf/Sources/ChainedConfiguration.hpp"
#include "SevenBit/Conf/Sources/CommandLineConfiguration.hpp"
#include "SevenBit/Conf/Sources/ConfigurationProviderBase.hpp"
#include "SevenBit/Conf/Sources/EnvironmentVarsConfiguration.hpp"
#include "SevenBit/Conf/Sources/Impl/AppSettingsConfiguration.hpp"
#include "SevenBit/Conf/Sources/Impl/ChainedConfiguration.hpp"
#include "SevenBit/Conf/Sources/Impl/CommandLineConfiguration.hpp"
#include "SevenBit/Conf/Sources/Impl/ConfigurationProviderBase.hpp"
#include "SevenBit/Conf/Sources/Impl/EnvironmentVarsConfiguration.hpp"
#include "SevenBit/Conf/Sources/Impl/InMemoryConfiguration.hpp"
#include "SevenBit/Conf/Sources/Impl/JsonConfiguration.hpp"
#include "SevenBit/Conf/Sources/Impl/JsonFileConfiguration.hpp"
#include "SevenBit/Conf/Sources/Impl/JsonStreamConfiguration.hpp"
#include "SevenBit/Conf/Sources/Impl/KeyPerFileConfiguration.hpp"
#include "SevenBit/Conf/Sources/Impl/MapConfiguration.hpp"
#include "SevenBit/Conf/Sources/InMemoryConfiguration.hpp"
#include "SevenBit/Conf/Sources/JsonConfiguration.hpp"
#include "SevenBit/Conf/Sources/JsonFileConfiguration.hpp"
#include "SevenBit/Conf/Sources/JsonStreamConfiguration.hpp"
#include "SevenBit/Conf/Sources/KeyPerFileConfiguration.hpp"
#include "SevenBit/Conf/Sources/MapConfiguration.hpp"