Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Problems.GaussianProcessTuning/HeuristicLab.Eigen/Eigen/CMakeLists.txt @ 10903

Last change on this file since 10903 was 9562, checked in by gkronber, 12 years ago

#1967 worked on Gaussian process evolution.

File size: 607 bytes
Line 
1include(RegexUtils)
2test_escape_string_as_regex()
3
4file(GLOB Eigen_directory_files "*")
5
6escape_string_as_regex(ESCAPED_CMAKE_CURRENT_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}")
7
8foreach(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()
12endforeach(f ${Eigen_directory_files})
13
14install(FILES
15  ${Eigen_directory_files_to_install}
16  DESTINATION ${INCLUDE_INSTALL_DIR}/Eigen COMPONENT Devel
17  )
18
19add_subdirectory(src)
Note: See TracBrowser for help on using the repository browser.