Home | History | Annotate | Download | only in Eigen
      1 include(RegexUtils)
      2 test_escape_string_as_regex()
      3 
      4 file(GLOB Eigen_directory_files "*")
      5 
      6 escape_string_as_regex(ESCAPED_CMAKE_CURRENT_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}")
      7 
      8 foreach(f ${Eigen_directory_files})
      9   if(NOT f MATCHES "\\.txt" AND NOT f MATCHES "${ESCAPED_CMAKE_CURRENT_SOURCE_DIR}/[.].+" AND NOT f MATCHES "${ESCAPED_CMAKE_CURRENT_SOURCE_DIR}/src")
     10     list(APPEND Eigen_directory_files_to_install ${f})
     11   endif()
     12 endforeach(f ${Eigen_directory_files})
     13 
     14 install(FILES
     15   ${Eigen_directory_files_to_install}
     16   DESTINATION ${INCLUDE_INSTALL_DIR}/Eigen COMPONENT Devel
     17   )
     18 
     19 add_subdirectory(src)
     20