File tree 1 file changed +11
-2
lines changed
1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -43,9 +43,18 @@ You can also use cmake option `-DENABLE_CPP_20=ON` or `-DENABLE_CPP_20=OFF` to c
43
43
44
44
## Install & Compile
45
45
46
- Yalantinglibs is a head-only library. You can just copy ` ./include/ylt ` directory into your project. But we suggest you use cmake to install it.
46
+ ### By Vcpkg
47
47
48
- ### Install
48
+ 1 . Install [ vcpkg] ( https://github.com/microsoft/vcpkg )
49
+ 2 . run ` ./vcpkg install yalantinglibs `
50
+ 3 . If you use cmake, add those codes:
51
+ ``` cmake
52
+ find_package(yalantinglibs CONFIG REQUIRED)
53
+ target_link_libraries(main PRIVATE yalantinglibs::yalantinglibs)
54
+ ```
55
+ ### Manually Install
56
+
57
+ Yalantinglibs is a head-only library. You can just copy ` ./include/ylt ` directory into your project. But we suggest you use cmake to install it.
49
58
50
59
1 . clone repo
51
60
You can’t perform that action at this time.
0 commit comments