aws-c-common/0.9.12

Core c99 package for AWS SDK for C. Includes cross-platform primitives, configuration, data structures, and error handling.
Recipe info
2024-01-16

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
aws-c-common/0.9.12

Using aws-c-common

Note

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.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
aws-c-common/0.9.12
[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("aws-c-common/0.9.12")

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

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

# ...
find_package(aws-c-common REQUIRED)
# ...
target_link_libraries(YOUR_TARGET AWS::aws-c-common)

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

#include "aws/common/allocator.h"
#include "aws/common/array_list.h"
#include "aws/common/array_list.inl"
#include "aws/common/assert.h"
#include "aws/common/atomics.h"
#include "aws/common/atomics.inl"
#include "aws/common/atomics_fallback.inl"
#include "aws/common/atomics_gnu.inl"
#include "aws/common/atomics_gnu_old.inl"
#include "aws/common/atomics_msvc.inl"
#include "aws/common/byte_buf.h"
#include "aws/common/byte_order.h"
#include "aws/common/byte_order.inl"
#include "aws/common/cache.h"
#include "aws/common/clock.h"
#include "aws/common/clock.inl"
#include "aws/common/command_line_parser.h"
#include "aws/common/common.h"
#include "aws/common/condition_variable.h"
#include "aws/common/config.h"
#include "aws/common/cpuid.h"
#include "aws/common/cross_process_lock.h"
#include "aws/common/date_time.h"
#include "aws/common/device_random.h"
#include "aws/common/encoding.h"
#include "aws/common/encoding.inl"
#include "aws/common/environment.h"
#include "aws/common/error.h"
#include "aws/common/error.inl"
#include "aws/common/exports.h"
#include "aws/common/external/ittnotify.h"
#include "aws/common/fifo_cache.h"
#include "aws/common/file.h"
#include "aws/common/hash_table.h"
#include "aws/common/json.h"
#include "aws/common/lifo_cache.h"
#include "aws/common/linked_hash_table.h"
#include "aws/common/linked_list.h"
#include "aws/common/linked_list.inl"
#include "aws/common/log_channel.h"
#include "aws/common/log_formatter.h"
#include "aws/common/log_writer.h"
#include "aws/common/logging.h"
#include "aws/common/lru_cache.h"
#include "aws/common/macros.h"
#include "aws/common/math.cbmc.inl"
#include "aws/common/math.fallback.inl"
#include "aws/common/math.gcc_arm64_asm.inl"
#include "aws/common/math.gcc_builtin.inl"
#include "aws/common/math.gcc_overflow.inl"
#include "aws/common/math.gcc_x64_asm.inl"
#include "aws/common/math.h"
#include "aws/common/math.inl"
#include "aws/common/math.msvc.inl"
#include "aws/common/mutex.h"
#include "aws/common/package.h"
#include "aws/common/platform.h"
#include "aws/common/posix/common.inl"
#include "aws/common/predicates.h"
#include "aws/common/priority_queue.h"
#include "aws/common/process.h"
#include "aws/common/promise.h"
#include "aws/common/ref_count.h"
#include "aws/common/ring_buffer.h"
#include "aws/common/ring_buffer.inl"
#include "aws/common/rw_lock.h"
#include "aws/common/statistics.h"
#include "aws/common/stdbool.h"
#include "aws/common/stdint.h"
#include "aws/common/string.h"
#include "aws/common/string.inl"
#include "aws/common/system_info.h"
#include "aws/common/system_resource_util.h"
#include "aws/common/task_scheduler.h"
#include "aws/common/thread.h"
#include "aws/common/thread_scheduler.h"
#include "aws/common/time.h"
#include "aws/common/uri.h"
#include "aws/common/uuid.h"
#include "aws/common/xml_parser.h"
#include "aws/common/zero.h"
#include "aws/common/zero.inl"
#include "aws/testing/aws_test_harness.h"