mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 04:40:18 -05:00
Rename cmProp in cmValue
This commit is contained in:
@@ -102,7 +102,7 @@ void cmGlobalVisualStudio71Generator::WriteProject(std::ostream& fout,
|
||||
ext = ".csproj";
|
||||
project = "Project(\"{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}\") = \"";
|
||||
}
|
||||
cmProp targetExt = t->GetProperty("GENERATOR_FILE_NAME_EXT");
|
||||
cmValue targetExt = t->GetProperty("GENERATOR_FILE_NAME_EXT");
|
||||
if (targetExt) {
|
||||
ext = *targetExt;
|
||||
}
|
||||
@@ -157,7 +157,7 @@ void cmGlobalVisualStudio71Generator::WriteProjectDepends(
|
||||
// executables to the libraries it uses are also done here
|
||||
void cmGlobalVisualStudio71Generator::WriteExternalProject(
|
||||
std::ostream& fout, const std::string& name, const std::string& location,
|
||||
cmProp typeGuid, const std::set<BT<std::pair<std::string, bool>>>& depends)
|
||||
cmValue typeGuid, const std::set<BT<std::pair<std::string, bool>>>& depends)
|
||||
{
|
||||
fout << "Project(\"{"
|
||||
<< (typeGuid ? typeGuid
|
||||
@@ -198,8 +198,8 @@ void cmGlobalVisualStudio71Generator::WriteProjectConfigurations(
|
||||
std::vector<std::string> mapConfig;
|
||||
const char* dstConfig = i.c_str();
|
||||
if (target.GetProperty("EXTERNAL_MSPROJECT")) {
|
||||
if (cmProp m = target.GetProperty("MAP_IMPORTED_CONFIG_" +
|
||||
cmSystemTools::UpperCase(i))) {
|
||||
if (cmValue m = target.GetProperty("MAP_IMPORTED_CONFIG_" +
|
||||
cmSystemTools::UpperCase(i))) {
|
||||
cmExpandList(*m, mapConfig);
|
||||
if (!mapConfig.empty()) {
|
||||
dstConfig = mapConfig[0].c_str();
|
||||
|
||||
Reference in New Issue
Block a user