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

Method WriteProjectSCC

Source/cmLocalVisualStudio7Generator.cxx:1960–1981  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1958}
1959
1960void cmLocalVisualStudio7Generator::WriteProjectSCC(std::ostream& fout,
1961 cmGeneratorTarget* target)
1962{
1963 // if we have all the required Source code control tags
1964 // then add that to the project
1965 cmValue vsProjectname = target->GetProperty("VS_SCC_PROJECTNAME");
1966 cmValue vsLocalpath = target->GetProperty("VS_SCC_LOCALPATH");
1967 cmValue vsProvider = target->GetProperty("VS_SCC_PROVIDER");
1968
1969 if (vsProvider && vsLocalpath && vsProjectname) {
1970 /* clang-format off */
1971 fout << "\tSccProjectName=\"" << *vsProjectname << "\"\n"
1972 "\tSccLocalPath=\"" << *vsLocalpath << "\"\n"
1973 "\tSccProvider=\"" << *vsProvider << "\"\n";
1974 /* clang-format on */
1975
1976 cmValue vsAuxPath = target->GetProperty("VS_SCC_AUXPATH");
1977 if (vsAuxPath) {
1978 fout << "\tSccAuxPath=\"" << *vsAuxPath << "\"\n";
1979 }
1980 }
1981}
1982
1983void cmLocalVisualStudio7Generator::WriteProjectStartFortran(
1984 std::ostream& fout, std::string const& libName, cmGeneratorTarget* target)

Callers 2

WriteProjectStartMethod · 0.95

Calls 1

GetPropertyMethod · 0.45

Tested by

no test coverage detected