summaryrefslogtreecommitdiffstats
path: root/Source/cmExternalMakefileProjectGenerator.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-07-03 20:10:50 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-07-03 20:10:50 (GMT)
commit7fbd4161d543b86f694bc75f2c31524a09729958 (patch)
treea7ecca14c9d691368bd645775b8d663b1ee453cb /Source/cmExternalMakefileProjectGenerator.cxx
parentd9ec3bbe43237aed835bf31274e848f5b0c920ae (diff)
downloadCMake-7fbd4161d543b86f694bc75f2c31524a09729958.zip
CMake-7fbd4161d543b86f694bc75f2c31524a09729958.tar.gz
CMake-7fbd4161d543b86f694bc75f2c31524a09729958.tar.bz2
STYLE: name the external generator "KDevelop3 - Unix Makefiles" instead of "Unix Makefiles -
KDevelop3" -initialize Ignore to 0, crashes otherwise Alex
Diffstat (limited to 'Source/cmExternalMakefileProjectGenerator.cxx')
-rw-r--r--Source/cmExternalMakefileProjectGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmExternalMakefileProjectGenerator.cxx b/Source/cmExternalMakefileProjectGenerator.cxx
index e1a8bcf..21a4032 100644
--- a/Source/cmExternalMakefileProjectGenerator.cxx
+++ b/Source/cmExternalMakefileProjectGenerator.cxx
@@ -26,12 +26,12 @@ std::string cmExternalMakefileProjectGenerator::CreateFullGeneratorName(
std::string fullName;
if (globalGenerator)
{
- fullName = globalGenerator;
if (extraGenerator && *extraGenerator)
{
+ fullName = extraGenerator;
fullName += " - ";
- fullName += extraGenerator;
}
+ fullName += globalGenerator;
}
return fullName;
}