diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-11-27 21:58:47 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-11-27 21:58:47 +0100 |
commit | b16e67fd9cf5c6fe0d3e599b5177046699bd6bce (patch) | |
tree | e5dc3e814ddce6c26d1f16a862ac052cd3266170 /cmake/install_macros.cmake | |
parent | c2839e2cf2617005d06d9bb14b98d70e2d905225 (diff) | |
download | mariadb-git-b16e67fd9cf5c6fe0d3e599b5177046699bd6bce.tar.gz |
install and package plugin suites.
Diffstat (limited to 'cmake/install_macros.cmake')
-rw-r--r-- | cmake/install_macros.cmake | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/cmake/install_macros.cmake b/cmake/install_macros.cmake index 9f4148342a7..f2e474395dc 100644 --- a/cmake/install_macros.cmake +++ b/cmake/install_macros.cmake @@ -376,3 +376,27 @@ FUNCTION(INSTALL_DEBUG_TARGET target) ENDIF() ENDFUNCTION() + +FUNCTION(INSTALL_MYSQL_TEST from to) + IF(INSTALL_MYSQLTESTDIR) + INSTALL( + DIRECTORY ${from} + DESTINATION "${INSTALL_MYSQLTESTDIR}/${to}" + USE_SOURCE_PERMISSIONS + COMPONENT Test + PATTERN "var/" EXCLUDE + PATTERN "lib/My/SafeProcess" EXCLUDE + PATTERN "lib/t*" EXCLUDE + PATTERN "CPack" EXCLUDE + PATTERN "CMake*" EXCLUDE + PATTERN "mtr.out*" EXCLUDE + PATTERN ".cvsignore" EXCLUDE + PATTERN "*.am" EXCLUDE + PATTERN "*.in" EXCLUDE + PATTERN "*.vcxproj" EXCLUDE + PATTERN "*.vcxproj.filters" EXCLUDE + PATTERN "*.vcxproj.user" EXCLUDE + PATTERN "CTest" EXCLUDE + ) + ENDIF() +ENDFUNCTION() |