BUG: run make all on unix not make exename

This commit is contained in:
Bill Hoffman 2001-08-23 16:24:04 -04:00
parent 047c7b5af4
commit eff67f3061
1 changed files with 3 additions and 1 deletions

View File

@ -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))
{