Add vcpkg install instructions

This commit is contained in:
grdowns 2019-08-22 06:44:23 -07:00
parent c4b0bf718a
commit b5603476ac
1 changed files with 11 additions and 0 deletions

View File

@ -36,6 +36,17 @@ Dear ImGui is self-contained within a few files that you can easily copy and com
No specific build process is required. You can add the .cpp files to your project or #include them from an existing file.
If you are using the [vcpkg](https://github.com/Microsoft/vcpkg/) dependency manager you can download and install Dear ImGui with a single command:
- Mac and Linux
```
./vcpkg install imgui
```
- Windows
```
.\vcpkg.exe install imgui
```
This command will also provide usage instructions for your CMake-based projects.
### Usage
Your code passes mouse/keyboard/gamepad inputs and settings to Dear ImGui (see example applications for more details). After Dear ImGui is setup, you can use it from \_anywhere\_ in your program loop: