Add a nullary-functor example performing index-based sub-matrices.

This commit is contained in:
Gael Guennebaud
2016-09-22 22:27:54 +02:00
parent ca3746c6f8
commit 9bcdc8b756
3 changed files with 98 additions and 0 deletions

View File

@@ -14,3 +14,8 @@ foreach(example_src ${examples_SRCS})
)
add_dependencies(all_examples ${example})
endforeach(example_src)
check_cxx_compiler_flag("-std=c++11" EIGEN_COMPILER_SUPPORT_CPP11)
if(EIGEN_COMPILER_SUPPORT_CPP11)
ei_add_target_property(nullary_indexing COMPILE_FLAGS "-std=c++11")
endif()