[cfe-commits] r125252 - /cfe/trunk/CMakeLists.txt

Ted Kremenek kremenek at apple.com
Wed Feb 9 17:03:09 PST 2011


Author: kremenek
Date: Wed Feb  9 19:03:09 2011
New Revision: 125252

URL: http://llvm.org/viewvc/llvm-project?rev=125252&view=rev
Log:
Add hack to CMakeLists.txt so that StaticAnalyzer libraries find their corresponding headers.

This is a hack because we really should only search in the 'include/clang/StaticAnalyzer' directory
if we are in 'lib/StaticAnalyzer'.  My CMake knowledge is limited, so I appeal to anyone with
more expertise.

Modified:
    cfe/trunk/CMakeLists.txt

Modified: cfe/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CMakeLists.txt?rev=125252&r1=125251&r2=125252&view=diff
==============================================================================
--- cfe/trunk/CMakeLists.txt (original)
+++ cfe/trunk/CMakeLists.txt Wed Feb  9 19:03:09 2011
@@ -124,6 +124,9 @@
     string( REGEX MATCHALL "/[^/]+" split_path ${CMAKE_CURRENT_SOURCE_DIR})
     list( GET split_path -1 dir)
     file( GLOB_RECURSE headers
+      ../../../include/clang/StaticAnalyzer${dir}/*.h
+      ../../../include/clang/StaticAnalyzer${dir}/*.td
+      ../../../include/clang/StaticAnalyzer${dir}/*.def
       ../../include/clang${dir}/*.h
       ../../include/clang${dir}/*.td
       ../../include/clang${dir}/*.def)





More information about the cfe-commits mailing list