diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-08-23 20:24:04 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-08-23 20:24:04 (GMT) |
commit | eff67f306121d8d9e21eaa4f623474d83d133c50 (patch) | |
tree | 6e0d991e0424f17e43471f01c0570642503a7946 /Source/cmaketest.cxx | |
parent | 047c7b5af487a4752a0ee39c0fc841e4102d7756 (diff) | |
download | CMake-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.cxx | 4 |
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)) { |