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

Side by Side Diff: tools/clang/blink_gc_plugin/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
« no previous file with comments | « tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp ('k') | tools/clang/blink_gc_plugin/Makefile » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 cmake_minimum_required(VERSION 2.8.8)
2 project(BlinkGCPlugin)
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 list(APPEND CMAKE_MODULE_PATH "${LLVM_BUILD_DIR}/share/llvm/cmake")
14
15 include(LLVMConfig)
16 include(AddLLVM)
17 include(HandleLLVMOptions)
18
19 set(LLVM_RUNTIME_OUTPUT_INTDIR "${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bin")
20 set(LLVM_LIBRARY_OUTPUT_INTDIR "${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib")
21
22 include_directories("${LLVM_SRC_DIR}/include"
23 "${LLVM_SRC_DIR}/tools/clang/include"
24 "${LLVM_BUILD_DIR}/include"
25 "${LLVM_BUILD_DIR}/tools/clang/include")
26
27 # This line is read by update.sh and other scripts in tools/clang/scripts
28 # Note: The spaces are significant.
29 set(LIBRARYNAME BlinkGCPlugin_10)
30
31 add_llvm_loadable_module("lib${LIBRARYNAME}"
32 BlinkGCPlugin.cpp
33 Edge.cpp
34 RecordInfo.cpp
35 )
OLDNEW
« no previous file with comments | « tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp ('k') | tools/clang/blink_gc_plugin/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698