forked from mpusz/mp-units
Installation documentation now used 0.5.0
This commit is contained in:
@@ -26,18 +26,18 @@ steps may be done:
|
|||||||
```
|
```
|
||||||
|
|
||||||
- add `units` as a dependency to your `conan` file. For example to use testing version of
|
- add `units` as a dependency to your `conan` file. For example to use testing version of
|
||||||
`0.4.0` of `mp-units` add:
|
`0.5.0` of `mp-units` add:
|
||||||
- `conanfile.txt`
|
- `conanfile.txt`
|
||||||
|
|
||||||
```text
|
```text
|
||||||
[requires]
|
[requires]
|
||||||
mp-units/0.4.0@mpusz/testing
|
mp-units/0.5.0@mpusz/testing
|
||||||
```
|
```
|
||||||
|
|
||||||
- `conanfile.py`
|
- `conanfile.py`
|
||||||
|
|
||||||
```python
|
```python
|
||||||
requires = "mp-units/0.4.0@mpusz/testing"
|
requires = "mp-units/0.5.0@mpusz/testing"
|
||||||
```
|
```
|
||||||
|
|
||||||
- link your `cmake` target with units
|
- link your `cmake` target with units
|
||||||
@@ -79,5 +79,5 @@ conan create . <username>/<channel> -s cppstd=20 -b=outdated <your_profile_and_s
|
|||||||
## Upload package to conan server
|
## Upload package to conan server
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
conan upload -r <remote-name> --all mp-units/0.4.0@<user>/<channel>
|
conan upload -r <remote-name> --all mp-units/0.5.0@<user>/<channel>
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user