diff options
| author | Dylan Noblesmith <nobled@dreamwidth.org> | 2012-02-13 12:32:15 +0000 |
|---|---|---|
| committer | Dylan Noblesmith <nobled@dreamwidth.org> | 2012-02-13 12:32:15 +0000 |
| commit | 01b2c9e82fa70dd94076daedbdb090a430581637 (patch) | |
| tree | 0d55573589e7c6d83910f426ca94740c4dc5b86b /clang/examples/analyzer-plugin | |
| parent | 04eadc476ed98d91c3407ce1fba06dfc9a9a0a1d (diff) | |
| download | bcm5719-llvm-01b2c9e82fa70dd94076daedbdb090a430581637.tar.gz bcm5719-llvm-01b2c9e82fa70dd94076daedbdb090a430581637.zip | |
examples/analyzer-plugin: hook up to build
This was never being compiled at all and was bitrotting
as a result.
Also compile SampleAnalyzerPlugin as a module, not a library,
and fix a mistake with not passing the source files
to add_clang_library().
llvm-svn: 150378
Diffstat (limited to 'clang/examples/analyzer-plugin')
| -rw-r--r-- | clang/examples/analyzer-plugin/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | clang/examples/analyzer-plugin/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/examples/analyzer-plugin/CMakeLists.txt b/clang/examples/analyzer-plugin/CMakeLists.txt index 865422684ca..2b9d82587ff 100644 --- a/clang/examples/analyzer-plugin/CMakeLists.txt +++ b/clang/examples/analyzer-plugin/CMakeLists.txt @@ -6,7 +6,7 @@ set( LLVM_USED_LIBS set( LLVM_LINK_COMPONENTS support mc) -add_clang_library(SampleAnalyzerPlugin SampleAnalyzerPlugin) +add_clang_library(SampleAnalyzerPlugin MainCallChecker.cpp) set_target_properties(SampleAnalyzerPlugin PROPERTIES diff --git a/clang/examples/analyzer-plugin/Makefile b/clang/examples/analyzer-plugin/Makefile index 5537ee03d88..8b83bef9245 100644 --- a/clang/examples/analyzer-plugin/Makefile +++ b/clang/examples/analyzer-plugin/Makefile @@ -11,7 +11,7 @@ CLANG_LEVEL := ../.. LIBRARYNAME = SampleAnalyzerPlugin LINK_LIBS_IN_SHARED = 0 -SHARED_LIBRARY = 1 +LOADABLE_MODULE = 1 include $(CLANG_LEVEL)/Makefile |

