Skip to content
  • Gregor Jasny's avatar
    Xcode: Escape all backslashes in strings (#15328) · ba39d7e9
    Gregor Jasny authored and Brad King's avatar Brad King committed
    Before this change backslashes in strings were escaped during compile
    flags adds via AppendFlag(). But global flags like OTHER_CPLUSPLUSFLAGS
    are not added as flags but as plain strings so they were not escaped
    properly.
    
    Now the escaping is performed within cmXCodeObject::PrintString() which
    ensures that strings are always encoded.
    ba39d7e9