Browse Source

BUG: run make all on unix not make exename

Bill Hoffman 24 years ago
parent
commit
eff67f3061
1 changed files with 3 additions and 1 deletions
  1. 3 1
      Source/cmaketest.cxx

+ 3 - 1
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))
     {