testHarness: adjusting the Makefile generator for cmake on Windows
This commit is contained in:
parent
8e0581a1cf
commit
f6f896a576
2 changed files with 12 additions and 2 deletions
|
@ -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
|
||||
#
|
||||
|
|
|
@ -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
|
||||
#
|
||||
|
|
Reference in a new issue