[requires]
c4core/0.1.11
NoteSimplest use case consuming this recipe and assuming CMake as your local build tool:
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.
[requires]
c4core/0.1.11
[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("c4core/0.1.11")
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:
c4core
c4core::c4core
c4core.pc
A simple use case using the CMake file name and the global target:
# ...
find_package(c4core REQUIRED)
# ...
target_link_libraries(YOUR_TARGET c4core::c4core)
These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the c4core
homepage listed above:
#include "c4/allocator.hpp"
#include "c4/base64.hpp"
#include "c4/bitmask.hpp"
#include "c4/blob.hpp"
#include "c4/c4_pop.hpp"
#include "c4/c4_push.hpp"
#include "c4/c4core.natvis"
#include "c4/char_traits.hpp"
#include "c4/charconv.hpp"
#include "c4/common.hpp"
#include "c4/compiler.hpp"
#include "c4/config.hpp"
#include "c4/cpu.hpp"
#include "c4/ctor_dtor.hpp"
#include "c4/dump.hpp"
#include "c4/enum.hpp"
#include "c4/error.hpp"
#include "c4/export.hpp"
#include "c4/ext/debugbreak/debugbreak.h"
#include "c4/ext/fast_float.hpp"
#include "c4/ext/rng/rng.hpp"
#include "c4/ext/sg14/inplace_function.h"
#include "c4/format.hpp"
#include "c4/hash.hpp"
#include "c4/language.hpp"
#include "c4/memory_resource.hpp"
#include "c4/memory_util.hpp"
#include "c4/platform.hpp"
#include "c4/preprocessor.hpp"
#include "c4/restrict.hpp"
#include "c4/span.hpp"
#include "c4/std/std.hpp"
#include "c4/std/std_fwd.hpp"
#include "c4/std/string.hpp"
#include "c4/std/string_fwd.hpp"
#include "c4/std/tuple.hpp"
#include "c4/std/vector.hpp"
#include "c4/std/vector_fwd.hpp"
#include "c4/substr.hpp"
#include "c4/substr_fwd.hpp"
#include "c4/szconv.hpp"
#include "c4/type_name.hpp"
#include "c4/types.hpp"
#include "c4/unrestrict.hpp"
#include "c4/utf.hpp"
#include "c4/windows.hpp"
#include "c4/windows_pop.hpp"
#include "c4/windows_push.hpp"