[cfe-commits] r85283 - /cfe/trunk/CMakeLists.txt
Douglas Gregor
dgregor at apple.com
Tue Oct 27 13:00:14 PDT 2009
On Oct 27, 2009, at 12:59 PM, Oscar Fuentes wrote:
> 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
> )
We also need ".inc" files?
- Doug
More information about the cfe-commits
mailing list