build-cpp / cmkr

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

Settings variable containing special characters requires quotes #54

Closed ZehMatt closed 2 years ago

ZehMatt commented 2 years ago

Having

[settings]
MSVC_RUNTIME_LIBRARY = "MultiThreaded$<$<CONFIG:Debug>:Debug>"

Should generate:

set(MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")

instead of

set(MSVC_RUNTIME_LIBRARY MultiThreaded$<$<CONFIG:Debug>:Debug>)