diff options
author | xiangzhou | 2015-07-11 13:05:26 -0400 |
---|---|---|
committer | xiangzhou | 2015-07-11 13:05:26 -0400 |
commit | c65902a4e062689f03bb22e3b2d2526cf887750d (patch) | |
tree | eb1be445e26178efb98d960617355b9c86a30b65 /src/Eigen/CMakeLists.txt | |
parent | b3b491cd9143d33bfebd4c5b26629573afcf0970 (diff) | |
download | pangemma-c65902a4e062689f03bb22e3b2d2526cf887750d.tar.gz |
add GXE test
Diffstat (limited to 'src/Eigen/CMakeLists.txt')
-rw-r--r-- | src/Eigen/CMakeLists.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/Eigen/CMakeLists.txt b/src/Eigen/CMakeLists.txt new file mode 100644 index 0000000..a92dd6f --- /dev/null +++ b/src/Eigen/CMakeLists.txt @@ -0,0 +1,19 @@ +include(RegexUtils) +test_escape_string_as_regex() + +file(GLOB Eigen_directory_files "*") + +escape_string_as_regex(ESCAPED_CMAKE_CURRENT_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}") + +foreach(f ${Eigen_directory_files}) + if(NOT f MATCHES "\\.txt" AND NOT f MATCHES "${ESCAPED_CMAKE_CURRENT_SOURCE_DIR}/[.].+" AND NOT f MATCHES "${ESCAPED_CMAKE_CURRENT_SOURCE_DIR}/src") + list(APPEND Eigen_directory_files_to_install ${f}) + endif() +endforeach(f ${Eigen_directory_files}) + +install(FILES + ${Eigen_directory_files_to_install} + DESTINATION ${INCLUDE_INSTALL_DIR}/Eigen COMPONENT Devel + ) + +add_subdirectory(src) |