diff options
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index ee630bc..8c60b9b 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -187,6 +187,11 @@ std::string cmGlobalXCodeGenerator makeCommand += " build"; } makeCommand += " -target "; + // if it is a null string for config don't use it + if(config && *config == 0) + { + config = 0; + } if (targetName && strlen(targetName)) { makeCommand += targetName; @@ -209,6 +214,7 @@ std::string cmGlobalXCodeGenerator makeCommand += " "; makeCommand += additionalOptions; } + std::cerr << "**** build command " << makeCommand.c_str() << "\n"; return makeCommand; } |