@@ -59,16 +59,18 @@ include(FetchContent)
5959FetchContent_Declare(
6060 7bitDI
6161 GIT_REPOSITORY https://github.com/7bitcoder/7bitDI.git
62- GIT_TAG 86228173f14f449dde88a84c549474ba43c2fd25 # proper release tag for example 1 .0.0
62+ GIT_TAG defbeb195e11367c5906564e33748ca7494dee88 # release 2 .0.0
6363)
6464FetchContent_MakeAvailable(7bitDI)
65+
66+ target_link_libraries(Target 7bitDI::7bitDI)
6567```
6668
6769### 2. Using Conan.io package manager
6870
6971Download and install A [ Conan] ( https://conan.io/ ) , and create conanfile.txt in the root of your project for example:
7072
71- ``` txt
73+ ```
7274[requires]
73757bitdi/2.0.0
7476```
@@ -79,11 +81,14 @@ change the version to newer if available, then run the command:
7981conan install . --output-folder=build --build=missing
8082```
8183
84+ Follow in detail instructions available
85+ at [ Conan Tutorial] ( https://docs.conan.io/2/tutorial/consuming_packages/build_simple_cmake_project.html )
86+
8287### 3. Header only
8388
8489Download source code from the most recent release,
85- copy include folder into your project location,
86- for example copy into the '/SevenBitDI' folder.
90+ copy include folder into your project location.
91+ For example copy into the '/SevenBitDI' folder.
8792Include this folder into the project, with [ Cmake] ( https://cmake.org/ ) , u can use:
8893
8994``` cmake
@@ -101,14 +106,14 @@ Download source code from the most recent release, build or install the project
101106for more details see the Building Library guide
102107in [ Documentation] ( https://7bitdi.readthedocs.io/en/latest/getting-started.html ) .
103108
109+ ## Injection Rules
110+
104111### The library relies on two core classes:
105112
106113* ServiceCollection: class is responsible for registering services and building service provider
107114* ServiceProvider: class is responsible for delivering real services and managing its lifetime
108115
109- ## Injection Rules
110-
111- The dependency injection system relies heavily on template metaprogramming and it has some limitations.
116+ The dependency injection system relies heavily on template metaprogramming, and it has some limitations.
112117
113118### General
114119
0 commit comments