testHarness: adjusting the Makefile generator for cmake on Windows

This commit is contained in:
Martin Beaudoin 2015-09-15 22:44:47 -04:00 committed by Hrvoje Jasak
parent 209da85a76
commit 7d10a1bbff

View file

@ -73,7 +73,12 @@ fi
# Make sure the CMake and tutorials runtime files are updated
# 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
#