diff options
author | Gael Guennebaud <g.gael@free.fr> | 2010-06-28 00:05:11 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2010-06-28 00:05:11 +0200 |
commit | de1220aa62b8ec06dc608e86e023ce2b25658642 (patch) | |
tree | 6ef440698ac6f546a91fabe80f4ba7a13dde079a /cmake/EigenTesting.cmake | |
parent | ca29620e25be0d4a5f6dccd9a4c5c4c649cee35c (diff) |
add a Transposition section in page 2
Diffstat (limited to 'cmake/EigenTesting.cmake')
-rw-r--r-- | cmake/EigenTesting.cmake | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/cmake/EigenTesting.cmake b/cmake/EigenTesting.cmake index 430ade207..60d99adc9 100644 --- a/cmake/EigenTesting.cmake +++ b/cmake/EigenTesting.cmake @@ -1,17 +1,6 @@ option(EIGEN_NO_ASSERTION_CHECKING "Disable checking of assertions using exceptions" OFF) option(EIGEN_DEBUG_ASSERTS "Enable advanced debuging of assertions" OFF) -# similar to set_target_properties but append the property instead of overwriting it -macro(ei_add_target_property target prop value) - - get_target_property(previous ${target} ${prop}) - # if the property wasn't previously set, ${previous} is now "previous-NOTFOUND" which cmake allows catching with plain if() - if(NOT previous) - set(previous "") - endif(NOT previous) - set_target_properties(${target} PROPERTIES ${prop} "${previous} ${value}") -endmacro(ei_add_target_property) - macro(ei_add_property prop value) get_property(previous GLOBAL PROPERTY ${prop}) set_property(GLOBAL PROPERTY ${prop} "${previous} ${value}") |