mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-15 20:19:17 +08:00
10 lines
547 B
Markdown
10 lines
547 B
Markdown
|
# How to use
|
||
|
|
||
|
We use the awesome [spdlog](https://github.com/gabime/spdlog) library for logging as a git submodule under the `deps` directory. To use it in your project, just include [spdlog.props](../../deps/spdlog.props) in a .vcxproj like this:
|
||
|
|
||
|
```xml
|
||
|
<Import Project="..\..\..\deps\spdlog.props" />
|
||
|
```
|
||
|
It'll add the required include dirs and link the library binary itself.
|
||
|
You can see many example usage of the library in its repository or in the [bootstrapper project](../../installer/PowerToysBootstrapper/bootstrapper/bootstrapper.cpp).
|