testHarness: adjusting the Makefile generator for cmake on Windows

This commit is contained in:
Martin Beaudoin 2015-09-20 22:47:05 -04:00
parent d84216bdbc
commit 7230235621
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
# 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
#

View file

@ -79,7 +79,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
#