diff options
author | Ken Martin <ken.martin@kitware.com> | 2005-02-23 19:36:38 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2005-02-23 19:36:38 (GMT) |
commit | a8770ccc193371d19f16bad6e4cf7ef6932a4ad5 (patch) | |
tree | 645a5f8a9a74534b4420747bc0058a8b53a0b23f /Source/cmGlobalVisualStudio6Generator.cxx | |
parent | e5637ef7d816228ed7eb86cc4a0f87d9f8aba1c1 (diff) | |
download | CMake-a8770ccc193371d19f16bad6e4cf7ef6932a4ad5.zip CMake-a8770ccc193371d19f16bad6e4cf7ef6932a4ad5.tar.gz CMake-a8770ccc193371d19f16bad6e4cf7ef6932a4ad5.tar.bz2 |
BUG: fix for empty target or config strings in the Build method
Diffstat (limited to 'Source/cmGlobalVisualStudio6Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio6Generator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio6Generator.cxx b/Source/cmGlobalVisualStudio6Generator.cxx index 34b4620..450bc57 100644 --- a/Source/cmGlobalVisualStudio6Generator.cxx +++ b/Source/cmGlobalVisualStudio6Generator.cxx @@ -112,7 +112,7 @@ int cmGlobalVisualStudio6Generator::Build( makeCommand += " "; makeCommand += projectName; makeCommand += ".dsw /MAKE \""; - if (targetName) + if (targetName && strlen(targetName)) { makeCommand += targetName; } @@ -121,7 +121,7 @@ int cmGlobalVisualStudio6Generator::Build( makeCommand += "ALL_BUILD"; } makeCommand += " - "; - if(config) + if(config && strlen(config)) { makeCommand += config; } |