included without '..', thus being compatible with build systems of *BSDs.
Patch by Joerg Sonnenberger!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125758
91177308-0d34-0410-b5e6-
96231b3b80d8
#define GET_CHECKERS
#define CHECKER(FULLNAME,CLASS,CXXFILE,HELPTEXT,HIDDEN) \
void register##CLASS(ExprEngine &Eng);
-#include "../Checkers/Checkers.inc"
+#include "Checkers.inc"
#undef CHECKER
#undef GET_CHECKERS
set(LLVM_USED_LIBS clangBasic clangLex clangAST clangFrontend clangRewrite)
+include_directories( ${CMAKE_CURRENT_BINARY_DIR}/../Checkers )
+
add_clang_library(clangStaticAnalyzerFrontend
AnalysisConsumer.cpp
CheckerRegistration.cpp
CLANG_LEVEL := ../../..
LIBRARYNAME := clangStaticAnalyzerFrontend
+CPP.Flags += -I${PROJ_OBJ_DIR}/../Checkers
+
include $(CLANG_LEVEL)/Makefile