[cfe-commits] r85283 - /cfe/trunk/CMakeLists.txt
Oscar Fuentes
ofv at wanadoo.es
Tue Oct 27 12:59:35 PDT 2009
Author: ofv
Date: Tue Oct 27 14:59:34 2009
New Revision: 85283
URL: http://llvm.org/viewvc/llvm-project?rev=85283&view=rev
Log:
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!
Modified:
cfe/trunk/CMakeLists.txt
Modified: cfe/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CMakeLists.txt?rev=85283&r1=85282&r2=85283&view=diff
==============================================================================
--- cfe/trunk/CMakeLists.txt (original)
+++ cfe/trunk/CMakeLists.txt Tue Oct 27 14:59:34 2009
@@ -83,8 +83,12 @@
${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
)
More information about the cfe-commits
mailing list