mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-29 10:39:28 -05:00
cmMakefile::GetProperty: return cmProp
This commit is contained in:
@@ -507,9 +507,9 @@ std::string cmGlobalVisualStudioGenerator::GetUtilityDepend(
|
||||
std::string cmGlobalVisualStudioGenerator::GetStartupProjectName(
|
||||
cmLocalGenerator const* root) const
|
||||
{
|
||||
const char* n = root->GetMakefile()->GetProperty("VS_STARTUP_PROJECT");
|
||||
if (n && *n) {
|
||||
std::string startup = n;
|
||||
cmProp n = root->GetMakefile()->GetProperty("VS_STARTUP_PROJECT");
|
||||
if (n && !n->empty()) {
|
||||
std::string startup = *n;
|
||||
if (this->FindTarget(startup)) {
|
||||
return startup;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user