testHarness: adjusting the Makefile generator for cmake on Windows

This commit is contained in:
Martin Beaudoin 2015-09-20 22:47:05 -04:00 committed by Hrvoje Jasak
parent 8e0581a1cf
commit f6f896a576
2 changed files with 12 additions and 2 deletions

View file

@ -79,7 +79,12 @@ fi
# Make sure the CMake and tutorials runtime files are updated # Make sure the CMake and tutorials runtime files are updated
# We need cmake version 2.8.0 at least # We need cmake version 2.8.0 at least
cmake $WM_PROJECT_DIR if [ "$WM_ARCH_BASE" == "mingw" ]
then
cmake $WM_PROJECT_DIR -G "MSYS Makefiles"
else
cmake $WM_PROJECT_DIR -G "Unix Makefiles"
fi
# All set. Now we can run the available test harness # All set. Now we can run the available test harness
# #

View file

@ -79,7 +79,12 @@ fi
# Make sure the CMake and tutorials runtime files are updated # Make sure the CMake and tutorials runtime files are updated
# We need cmake version 2.8.0 at least # We need cmake version 2.8.0 at least
cmake $WM_PROJECT_DIR if [ "$WM_ARCH_BASE" == "mingw" ]
then
cmake $WM_PROJECT_DIR -G "MSYS Makefiles"
else
cmake $WM_PROJECT_DIR -G "Unix Makefiles"
fi
# All set. Now we can run the available test harness # All set. Now we can run the available test harness
# #