summaryrefslogtreecommitdiffstats
path: root/Source/cmaketest.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-08-23 20:24:04 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-08-23 20:24:04 (GMT)
commiteff67f306121d8d9e21eaa4f623474d83d133c50 (patch)
tree6e0d991e0424f17e43471f01c0570642503a7946 /Source/cmaketest.cxx
parent047c7b5af487a4752a0ee39c0fc841e4102d7756 (diff)
downloadCMake-eff67f306121d8d9e21eaa4f623474d83d133c50.zip
CMake-eff67f306121d8d9e21eaa4f623474d83d133c50.tar.gz
CMake-eff67f306121d8d9e21eaa4f623474d83d133c50.tar.bz2
BUG: run make all on unix not make exename
Diffstat (limited to 'Source/cmaketest.cxx')
-rw-r--r--Source/cmaketest.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmaketest.cxx b/Source/cmaketest.cxx
index 666acf3..0ab963c 100644
--- a/Source/cmaketest.cxx
+++ b/Source/cmaketest.cxx
@@ -47,9 +47,11 @@ int main (int argc, char *argv[])
// now build the test
std::string makeCommand = MAKEPROGRAM;
makeCommand += " ";
- makeCommand += executableName;
#ifdef _WIN32
+ makeCommand += executableName;
makeCommand += ".dsw /MAKE \"ALL_BUILD - Release\" /REBUILD";
+#else
+ makeCommand += " all";
#endif
if (!cmSystemTools::RunCommand(makeCommand.c_str(), output))
{