protected function writePropertyGroupConfigurationElements(DOMElement $parent, Configuration $configuration) { XmlDom::createElement($parent, 'ConfigurationType', $this->convertConfigurationType($this->project->getType())); XmlDom::createElement($parent, 'UseDebugLibraries', $configuration->getDebug() ? 'true' : 'false'); if (!$configuration->getDebug()) { XmlDom::createElement($parent, 'WholeProgramOptimization', 'true'); } XmlDom::createElement($parent, 'CharacterSet', $this->convertCharacterSet($configuration->getCharacterSet())); }