aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-02-05 22:13:50 +0000
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-02-05 22:13:50 +0000
commitdc9707990553566d7ac5d42fa79839812470f842 (patch)
treea233698d9820aba36592b82e6269632d00eb0c58
parenta4487ef19820754429bf9a76bbe567a8c7588f32 (diff)
add optimization flag for MSVC and heavy tests
remove unsupported namespace
-rw-r--r--test/CMakeLists.txt2
-rw-r--r--unsupported/Eigen/AdolcForward4
-rw-r--r--unsupported/doc/Doxyfile.in3
3 files changed, 3 insertions, 6 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 01bb721a3..c0dcdccd0 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -83,6 +83,8 @@ if(CMAKE_COMPILER_IS_GNUCXX)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O0 -g2")
endif(CMAKE_SYSTEM_NAME MATCHES Linux)
set(EI_OFLAG "-O2")
+elseif(MSVC)
+ set(EI_OFLAG "/O2")
else(CMAKE_COMPILER_IS_GNUCXX)
set(EI_OFLAG "")
endif(CMAKE_COMPILER_IS_GNUCXX)
diff --git a/unsupported/Eigen/AdolcForward b/unsupported/Eigen/AdolcForward
index 1845cb917..2d65988d6 100644
--- a/unsupported/Eigen/AdolcForward
+++ b/unsupported/Eigen/AdolcForward
@@ -59,8 +59,6 @@
namespace Eigen {
-namespace unsupported {
-
/** \ingroup Unsupported_modules
* \defgroup AdolcForward_Module Adolc forward module
* This module provides support for adolc's adouble type in forward mode.
@@ -79,8 +77,6 @@ namespace unsupported {
*/
//@{
-} // namespace unsupported
-
} // namespace Eigen
// the Adolc's type adouble is defined in the adtl namespace
diff --git a/unsupported/doc/Doxyfile.in b/unsupported/doc/Doxyfile.in
index c952b9893..83ab41334 100644
--- a/unsupported/doc/Doxyfile.in
+++ b/unsupported/doc/Doxyfile.in
@@ -562,8 +562,7 @@ WARN_LOGFILE =
# directories like "/usr/src/myproject". Separate the files or directories
# with spaces.
-INPUT = "${Eigen_BINARY_DIR}/doc" \
- "${Eigen_SOURCE_DIR}/unsupported/Eigen" \
+INPUT = "${Eigen_SOURCE_DIR}/unsupported/Eigen" \
"${Eigen_SOURCE_DIR}/unsupported/doc"
# This tag can be used to specify the character encoding of the source files