summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-02-21 13:43:19 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-02-21 13:43:19 (GMT)
commit59714406cce09d7b6966c83303849240a99af774 (patch)
tree6f49863161e017771c10fca5bf9d6059c62347d8
parent7cf06be12e3ed4bae2a8769eb1dafeac49d5db34 (diff)
downloadCMake-59714406cce09d7b6966c83303849240a99af774.zip
CMake-59714406cce09d7b6966c83303849240a99af774.tar.gz
CMake-59714406cce09d7b6966c83303849240a99af774.tar.bz2
add ifdef for windows function
-rw-r--r--Source/cmaketest.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmaketest.cxx b/Source/cmaketest.cxx
index eeefdc3..d1372d8 100644
--- a/Source/cmaketest.cxx
+++ b/Source/cmaketest.cxx
@@ -149,6 +149,7 @@ int main (int argc, char *argv[])
// MSDEV 7.0 .NET
else if (lowerCaseCommand.find("devenv") != std::string::npos)
{
+#if defined(_WIN32) && !defined(__CYGWIN__)
if(makeCommand.find(' ') != std::string::npos)
{
char *buffer = new char[makeCommand.size()+1];
@@ -159,6 +160,7 @@ int main (int argc, char *argv[])
}
delete [] buffer;\
}
+#endif
makeCommand += " ";
makeCommand += projectName;
makeCommand += ".sln /rebuild Debug /project ALL_BUILD";