An open API service indexing awesome lists of open source software.

https://github.com/dup4/autowired-cpp

AutoWired for morden cpp
https://github.com/dup4/autowired-cpp

autowired cpp dependency-injection

Last synced: about 2 months ago
JSON representation

AutoWired for morden cpp

Awesome Lists containing this project

README

        

# autowired-cpp

[![Clang Format](https://github.com/Dup4/autowired-cpp/workflows/Clang%20Format/badge.svg)](https://github.com/Dup4/autowired-cpp/actions/workflows/clang_format.yml)
[![Test](https://github.com/Dup4/autowired-cpp/workflows/Test/badge.svg)](https://github.com/Dup4/autowired-cpp/actions/workflows/test.yml)
[![codecov](https://codecov.io/gh/Dup4/autowired-cpp/branch/main/graph/badge.svg)](https://codecov.io/gh/Dup4/autowired-cpp)
[![GitHub release](https://img.shields.io/github/release/Dup4/autowired-cpp.svg)](https://GitHub.com/Dup4/autowired-cpp/releases/)

## Integration

### CMake

```cmake
FetchContent_Declare(
autowired
QUIET
GIT_REPOSITORY https://github.com/Dup4/autowired-cpp.git
GIT_TAG v{x.y.z} # Where `x.y.z` is the release version you want to use.
)
```

### Bazel

```bazel
git_repository(
name = "autowired",
remote = "https://github.com/Dup4/autowired-cpp.git",
tag = "v{x.y.z}", # Where `x.y.z` is the release version you want to use.
)
```

## Usage

See the usage in the [unit test](./test/autowired_v1_test.cc)

## License

[MIT](./LICENSE) License © 2022 - PRESENT [Dup4][dup4]

[dup4]: https://github.com/Dup4