Properties can not be integers
ZehMatt opened this issue · 0 comments
ZehMatt commented
If one copies the snippet from the reference https://cmkr.build/cmake-toml/#targets:
# See https://cmake.org/cmake/help/latest/manual/cmake-properties.7.html#properties-on-targets for a list of target properties
[target.mytarget.properties]
CXX_STANDARD = 17
CXX_STANDARD_REQUIRED = true
FOLDER = "MyFolder"
cmkr will show following error:
[error] toml::value::as_string(): bad_cast to string
--> F:\C++\Buggerino\cmake.toml
|
12 | CXX_STANDARD = 17
| ~~ the actual type is integer