MCPcopy Create free account
hub / github.com/Kitware/CMake / OutputDeploymentDebuggerTool

Method OutputDeploymentDebuggerTool

Source/cmLocalVisualStudio7Generator.cxx:1255–1289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1253}
1254
1255void cmLocalVisualStudio7Generator::OutputDeploymentDebuggerTool(
1256 std::ostream& fout, std::string const& config, cmGeneratorTarget* target)
1257{
1258 if (this->WindowsCEProject) {
1259 cmValue dir = target->GetProperty("DEPLOYMENT_REMOTE_DIRECTORY");
1260 cmValue additionalFiles =
1261 target->GetProperty("DEPLOYMENT_ADDITIONAL_FILES");
1262
1263 if (!dir && !additionalFiles) {
1264 return;
1265 }
1266
1267 fout << "\t\t\t<DeploymentTool\n"
1268 "\t\t\t\tForceDirty=\"-1\"\n"
1269 "\t\t\t\tRemoteDirectory=\""
1270 << GetEscapedPropertyIfValueNotNULL(dir->c_str())
1271 << "\"\n"
1272 "\t\t\t\tRegisterOutput=\"0\"\n"
1273 "\t\t\t\tAdditionalFiles=\""
1274 << GetEscapedPropertyIfValueNotNULL(additionalFiles->c_str())
1275 << "\"/>\n";
1276
1277 if (dir) {
1278 std::string const exe =
1279 cmStrCat(*dir, '\\', target->GetFullName(config));
1280
1281 fout << "\t\t\t<DebuggerTool\n"
1282 "\t\t\t\tRemoteExecutable=\""
1283 << this->EscapeForXML(exe)
1284 << "\"\n"
1285 "\t\t\t\tArguments=\"\"\n"
1286 "\t\t\t/>\n";
1287 }
1288 }
1289}
1290
1291void cmLocalVisualStudio7Generator::WriteTargetVersionAttribute(
1292 std::ostream& fout, cmGeneratorTarget* gt)

Callers 1

WriteConfigurationMethod · 0.95

Calls 6

EscapeForXMLMethod · 0.95
c_strMethod · 0.80
cmStrCatFunction · 0.70
GetPropertyMethod · 0.45
GetFullNameMethod · 0.45

Tested by

no test coverage detected