-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathusage
More file actions
28 lines (19 loc) · 749 Bytes
/
Copy pathusage
File metadata and controls
28 lines (19 loc) · 749 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
ccstring provides CMake targets via a standard CMake package configuration.
## Vcpkg Manifest Usage
This project supports vcpkg manifest mode through `vcpkg.json`.
To build the project with vcpkg:
```powershell
vcpkg install --triplet x64-windows
cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=<vcpkg-root>\scripts\buildsystems\vcpkg.cmake
cmake --build build
```
To consume `ccstring` from another CMake project using vcpkg:
```cmake
find_package(ccstring REQUIRED)
add_executable(myapp main.c)
target_link_libraries(myapp PRIVATE ccstring::ccstring)
```
### Notes
- The package installs header files under `include/`.
- The library exports the target `ccstring::ccstring`.
- Use the appropriate vcpkg triplet for your platform and toolchain.