mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
aebecae510
finally that's more subtle than just using ei_nested, because when flagging with NestByValueBit we want to store the expression by value already, regardless of whether it already had the NestByValueBit set. * rename temporary() ----> nestByValue() * move the old Product.h to disabled/, replace by what was ProductWIP.h * tweak -O and -g flags for tests and examples * reorder the tests -- basic things go first * simplifications, e.g. in many methoeds return derived() and count on implicit casting to the actual return type. * strip some not-really-useful stuff from the heaviest tests
30 lines
598 B
CMake
30 lines
598 B
CMake
IF(BUILD_DOC)
|
|
|
|
IF(CMAKE_COMPILER_IS_GNUCXX)
|
|
IF(CMAKE_SYSTEM_NAME MATCHES Linux)
|
|
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O1 -g1")
|
|
ENDIF(CMAKE_SYSTEM_NAME MATCHES Linux)
|
|
ENDIF(CMAKE_COMPILER_IS_GNUCXX)
|
|
|
|
CONFIGURE_FILE(
|
|
${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in
|
|
${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
|
|
)
|
|
|
|
SET(examples_targets "")
|
|
SET(snippets_targets "")
|
|
|
|
ADD_SUBDIRECTORY(examples)
|
|
ADD_SUBDIRECTORY(snippets)
|
|
|
|
ADD_CUSTOM_TARGET(
|
|
run_doxygen
|
|
ALL
|
|
COMMAND doxygen
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
|
)
|
|
|
|
ADD_DEPENDENCIES(run_doxygen all_snippets all_examples)
|
|
|
|
ENDIF(BUILD_DOC)
|