Parcourir la source

BUG: run make all on unix not make exename

Bill Hoffman il y a 24 ans
Parent
commit
eff67f3061
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  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))
     {