Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Side by Side Diff: tools/clang/plugins/CMakeLists.txt

Issue 578623002: Roll Clang 214024:216630 (+216684) and switch to CMake (try 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 cmake_minimum_required(VERSION 2.8.8)
2 project(FindBadConstructs)
3
4 # This pugin is built using LLVM's build system, not Chromium's.
5 # It expects LLVM_SRC_DIR and LLVM_BUILD_DIR to be set.
6 # For example:
7 #
8 # cmake -GNinja -DLLVM_BUILD_DIR=$CHROMIUM_SRC_DIR/third_party/llvm-build \
9 # -DLLVM_SRC_DIR=$CHROMIUM_SRC_DIR/third_party/llvm \
10 # $CHROMIUM_SRC_DIR/tools/clang/blink_gc_plugin/
11 # ninja
12
13
14 list(APPEND CMAKE_MODULE_PATH "${LLVM_BUILD_DIR}/share/llvm/cmake")
15
16 include(LLVMConfig)
17 include(AddLLVM)
18 include(HandleLLVMOptions)
19
20 set(LLVM_RUNTIME_OUTPUT_INTDIR "${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bin")
21 set(LLVM_LIBRARY_OUTPUT_INTDIR "${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib")
22
23 include_directories("${LLVM_SRC_DIR}/include"
24 "${LLVM_SRC_DIR}/tools/clang/include"
25 "${LLVM_BUILD_DIR}/include"
26 "${LLVM_BUILD_DIR}/tools/clang/include")
27
28 add_llvm_loadable_module(libFindBadConstructs
29 ChromeClassTester.cpp
30 FindBadConstructsAction.cpp
31 FindBadConstructsConsumer.cpp
32 )
OLDNEW
« no previous file with comments | « tools/clang/blink_gc_plugin/tests/test.sh ('k') | tools/clang/plugins/FindBadConstructsAction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698