From: Oscar Fuentes Date: Tue, 27 Oct 2009 19:59:34 +0000 (+0000) Subject: Rather than excluding quite some things, and still installing X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=82cac29c6ed3121c00845bd2ea84232061bd7dbf;p=clang Rather than excluding quite some things, and still installing CMakeLists.txt, Makefiles, ... it's better to whitelist what we really want to install. Patch by Ingmar Vanhassel! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85283 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 56212f1639..7f4ab33b33 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -83,8 +83,12 @@ include_directories( ${CMAKE_CURRENT_BINARY_DIR}/include ) -install(DIRECTORY include - DESTINATION . +install(DIRECTORY include/ + DESTINATION include + FILES_MATCHING + PATTERN "*.def" + PATTERN "*.h" + PATTERN "*.td" PATTERN ".svn" EXCLUDE )