diff options
author | Tom Stellard <tstellar@redhat.com> | 2018-12-20 22:04:36 +0000 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2018-12-20 22:04:36 +0000 |
commit | 8c020758a08ed397d61066689d7c37aa7e6239df (patch) | |
tree | 81811ddb10ff5aba76c42f6d0f4c3f234875bb1c /clang/examples | |
parent | 2f44fbe936fab72921c3daa41fc8bf8f491c55be (diff) | |
download | llvm-8c020758a08ed397d61066689d7c37aa7e6239df.zip llvm-8c020758a08ed397d61066689d7c37aa7e6239df.tar.gz llvm-8c020758a08ed397d61066689d7c37aa7e6239df.tar.bz2 |
cmake: Remove uses of add_llvm_loadable_module macro
This was removed from llvm in r349839.
llvm-svn: 349840
Diffstat (limited to 'clang/examples')
-rw-r--r-- | clang/examples/AnnotateFunctions/CMakeLists.txt | 2 | ||||
-rw-r--r-- | clang/examples/PrintFunctionNames/CMakeLists.txt | 2 | ||||
-rw-r--r-- | clang/examples/analyzer-plugin/CMakeLists.txt | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/clang/examples/AnnotateFunctions/CMakeLists.txt b/clang/examples/AnnotateFunctions/CMakeLists.txt index 5684abf..44b6317 100644 --- a/clang/examples/AnnotateFunctions/CMakeLists.txt +++ b/clang/examples/AnnotateFunctions/CMakeLists.txt @@ -1,4 +1,4 @@ -add_llvm_loadable_module(AnnotateFunctions AnnotateFunctions.cpp PLUGIN_TOOL clang) +add_llvm_library(AnnotateFunctions MODULE AnnotateFunctions.cpp PLUGIN_TOOL clang) if(LLVM_ENABLE_PLUGINS AND (WIN32 OR CYGWIN)) target_link_libraries(AnnotateFunctions PRIVATE diff --git a/clang/examples/PrintFunctionNames/CMakeLists.txt b/clang/examples/PrintFunctionNames/CMakeLists.txt index e582b2c..68c6f76 100644 --- a/clang/examples/PrintFunctionNames/CMakeLists.txt +++ b/clang/examples/PrintFunctionNames/CMakeLists.txt @@ -9,7 +9,7 @@ if( NOT MSVC ) # MSVC mangles symbols differently, and endif() endif() -add_llvm_loadable_module(PrintFunctionNames PrintFunctionNames.cpp PLUGIN_TOOL clang) +add_llvm_library(PrintFunctionNames MODULE PrintFunctionNames.cpp PLUGIN_TOOL clang) if(LLVM_ENABLE_PLUGINS AND (WIN32 OR CYGWIN)) target_link_libraries(PrintFunctionNames PRIVATE diff --git a/clang/examples/analyzer-plugin/CMakeLists.txt b/clang/examples/analyzer-plugin/CMakeLists.txt index 0d5b275..7c7b2ae 100644 --- a/clang/examples/analyzer-plugin/CMakeLists.txt +++ b/clang/examples/analyzer-plugin/CMakeLists.txt @@ -1,5 +1,5 @@ set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/SampleAnalyzerPlugin.exports) -add_llvm_loadable_module(SampleAnalyzerPlugin MainCallChecker.cpp PLUGIN_TOOL clang) +add_llvm_library(SampleAnalyzerPlugin MODULE MainCallChecker.cpp PLUGIN_TOOL clang) if(LLVM_ENABLE_PLUGINS AND (WIN32 OR CYGWIN)) target_link_libraries(SampleAnalyzerPlugin PRIVATE |