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.
Describe the bug Calling
SomeObject(GET)
orSomeObject(SET)
will encode the arguments usingcpp_encode_special_chars()
through theclass.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.