aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-01-12 12:53:41 +0000
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-01-12 12:53:41 +0000
commitb365f443a26511147652d4576c34da8dc08f55ea (patch)
tree4f29db2c1c5349d9de264f75217834549542d428
parent484ed3bbe23445f0cbc0f0890d2a35c3a0723b17 (diff)
make the testsuite works on windows with nmake
-rw-r--r--test/testsuite.cmake8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/testsuite.cmake b/test/testsuite.cmake
index 006ca9f01..569e13ad8 100644
--- a/test/testsuite.cmake
+++ b/test/testsuite.cmake
@@ -82,11 +82,7 @@ if(NOT EIGEN_SITE)
endif(NOT EIGEN_SITE)
if(NOT EIGEN_CMAKE_DIR)
- if(WIN32)
- SET(EIGEN_CMAKE_DIR "C:/Program Files/CMake/bin/")
- else(WIN32)
- SET(EIGEN_CMAKE_DIR "")
- endif(WIN32)
+ SET(EIGEN_CMAKE_DIR "")
endif(NOT EIGEN_CMAKE_DIR)
if(NOT EIGEN_BUILD_STRING)
@@ -163,6 +159,8 @@ SET(CTEST_BACKUP_AND_RESTORE TRUE)
# this is the initial cache to use for the binary tree, be careful to escape
# any quotes inside of this string if you use it
if(WIN32)
+ #message(SEND_ERROR "win32")
+ set(CTEST_CMAKE_COMMAND "${CTEST_CMAKE_COMMAND} -G \"NMake Makefiles\" -DCMAKE_MAKE_PROGRAM=nmake")
SET (CTEST_INITIAL_CACHE "
MAKECOMMAND:STRING=nmake -i
CMAKE_MAKE_PROGRAM:FILEPATH=nmake