build-cpp / cmkr

Modern build system based on CMake and TOML.
https://cmkr.build
MIT License
439 stars 27 forks source link

Add support for vcpkg package features #41

Closed cursey closed 2 years ago

cursey commented 2 years ago

Adds support for vcpkg package features. For example:

[vcpkg]
version = "2021.12.01"
packages = [
    "imgui[docking-experimental,freetype,sdl2-binding,opengl3-binding]",
    "fmt",
    "pegtl",
    "nativefiledialog",
    "spdlog",
    "utfcpp",
    "nlohmann-json",
    "glad[gl-api-30]",
]

I've tested these changes on one of my projects.

mrexodia commented 2 years ago

Thanks a lot!