mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 19:59:05 +08:00
add optimization flag for MSVC and heavy tests
remove unsupported namespace
This commit is contained in:
parent
a4487ef198
commit
dc97079905
@ -83,6 +83,8 @@ if(CMAKE_COMPILER_IS_GNUCXX)
|
|||||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O0 -g2")
|
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O0 -g2")
|
||||||
endif(CMAKE_SYSTEM_NAME MATCHES Linux)
|
endif(CMAKE_SYSTEM_NAME MATCHES Linux)
|
||||||
set(EI_OFLAG "-O2")
|
set(EI_OFLAG "-O2")
|
||||||
|
elseif(MSVC)
|
||||||
|
set(EI_OFLAG "/O2")
|
||||||
else(CMAKE_COMPILER_IS_GNUCXX)
|
else(CMAKE_COMPILER_IS_GNUCXX)
|
||||||
set(EI_OFLAG "")
|
set(EI_OFLAG "")
|
||||||
endif(CMAKE_COMPILER_IS_GNUCXX)
|
endif(CMAKE_COMPILER_IS_GNUCXX)
|
||||||
|
@ -59,8 +59,6 @@
|
|||||||
|
|
||||||
namespace Eigen {
|
namespace Eigen {
|
||||||
|
|
||||||
namespace unsupported {
|
|
||||||
|
|
||||||
/** \ingroup Unsupported_modules
|
/** \ingroup Unsupported_modules
|
||||||
* \defgroup AdolcForward_Module Adolc forward module
|
* \defgroup AdolcForward_Module Adolc forward module
|
||||||
* This module provides support for adolc's adouble type in forward mode.
|
* This module provides support for adolc's adouble type in forward mode.
|
||||||
@ -79,8 +77,6 @@ namespace unsupported {
|
|||||||
*/
|
*/
|
||||||
//@{
|
//@{
|
||||||
|
|
||||||
} // namespace unsupported
|
|
||||||
|
|
||||||
} // namespace Eigen
|
} // namespace Eigen
|
||||||
|
|
||||||
// the Adolc's type adouble is defined in the adtl namespace
|
// the Adolc's type adouble is defined in the adtl namespace
|
||||||
|
@ -562,8 +562,7 @@ WARN_LOGFILE =
|
|||||||
# directories like "/usr/src/myproject". Separate the files or directories
|
# directories like "/usr/src/myproject". Separate the files or directories
|
||||||
# with spaces.
|
# with spaces.
|
||||||
|
|
||||||
INPUT = "${Eigen_BINARY_DIR}/doc" \
|
INPUT = "${Eigen_SOURCE_DIR}/unsupported/Eigen" \
|
||||||
"${Eigen_SOURCE_DIR}/unsupported/Eigen" \
|
|
||||||
"${Eigen_SOURCE_DIR}/unsupported/doc"
|
"${Eigen_SOURCE_DIR}/unsupported/doc"
|
||||||
|
|
||||||
# This tag can be used to specify the character encoding of the source files
|
# This tag can be used to specify the character encoding of the source files
|
||||||
|
Loading…
x
Reference in New Issue
Block a user