https://github.com/tinysec/wtl
Windows Template Library packaged as a CMake header-only dependency
https://github.com/tinysec/wtl
Last synced: 9 days ago
JSON representation
Windows Template Library packaged as a CMake header-only dependency
- Host: GitHub
- URL: https://github.com/tinysec/wtl
- Owner: tinysec
- Created: 2026-06-06T10:21:49.000Z (about 2 months ago)
- Default Branch: master
- Last Pushed: 2026-06-06T10:24:01.000Z (about 2 months ago)
- Last Synced: 2026-06-06T12:13:12.606Z (about 2 months ago)
- Language: C++
- Size: 308 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wtl
[](https://github.com/tinysec/wtl/actions)
[](#use-from-another-cmake-project)
## Introduction
`wtl` exposes Windows Template Library as a CMake header-only dependency.
The CMake target is:
```cmake
wtl::wtl
```
Linking this target adds the WTL include directory to consumers, so existing WTL
includes continue to work:
```cpp
#include
#include
```
WTL requires a Windows C++ toolchain with ATL headers available.
## Use From Another CMake Project
Use `FetchContent` to load this repository from GitHub:
```cmake
include(FetchContent)
FetchContent_Declare(
wtl
GIT_REPOSITORY https://github.com/tinysec/wtl.git
GIT_TAG v10.01)
FetchContent_MakeAvailable(wtl)
target_link_libraries(your_target PRIVATE wtl::wtl)
```
This repository is intended to be consumed with `FetchContent`; it does not
provide CMake install or package configuration support.