CMakePP / CMakePPLang

Object-oriented extension to the CMake language.
http://cmakepp.github.io/CMakePPLang/
Apache License 2.0
11 stars 4 forks source link

Incorrect handling of arguments when setting or getting attributes #122

Closed AutonomicPerfectionist closed 10 months ago

AutonomicPerfectionist commented 10 months ago

Describe the bug Calling SomeObject(GET) or SomeObject(SET) will encode the arguments using cpp_encode_special_chars() through the class.cmake.in template. However, the arguments are never decoded, leading to incorrect values being stored.

Expected behavior Storing a string in an attribute and immediately getting the attribute should return the exact string.