Skip to content
Snippets Groups Projects
Commit c869abe2 authored by Argyrios Kyrtzidis's avatar Argyrios Kyrtzidis
Browse files

When building StaticAnalyzer/Frontend add -I "<Checkers build dir>" to allow Checkers.inc to be

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
parent 8c99d88a
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ class ExprEngine;
#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
......
......@@ -2,6 +2,8 @@ set(LLVM_NO_RTTI 1)
set(LLVM_USED_LIBS clangBasic clangLex clangAST clangFrontend clangRewrite)
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/../Checkers )
add_clang_library(clangStaticAnalyzerFrontend
AnalysisConsumer.cpp
CheckerRegistration.cpp
......
......@@ -14,4 +14,6 @@
CLANG_LEVEL := ../../..
LIBRARYNAME := clangStaticAnalyzerFrontend
CPP.Flags += -I${PROJ_OBJ_DIR}/../Checkers
include $(CLANG_LEVEL)/Makefile
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment