diff options
author | Derek Schuff <dschuff@chromium.org> | 2013-04-29 11:10:40 -0700 |
---|---|---|
committer | Derek Schuff <dschuff@chromium.org> | 2013-04-29 11:10:40 -0700 |
commit | 9986176a70307f63f089d1bc79284ccb8f19d6cb (patch) | |
tree | ead960c6a72d9da32429a2a53676d44271670505 /tools | |
parent | fa3dba3985f385272bd04e160b58d136d1d6d4dd (diff) |
Fix CMake build of bitcode wrapper header utility.
It wasn't even attempting to build before.
R=jvoung@chromium.org
BUG=cmake/ninja build
Review URL: https://codereview.chromium.org/13844019
Diffstat (limited to 'tools')
-rw-r--r-- | tools/CMakeLists.txt | 1 | ||||
-rw-r--r-- | tools/bc-wrap/CMakeLists.txt | 5 | ||||
-rw-r--r-- | tools/bc-wrap/LLVMBuild.txt | 4 |
3 files changed, 8 insertions, 2 deletions
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 773ea0350a..dd30c77a5d 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -44,6 +44,7 @@ add_subdirectory(llvm-mcmarkup) add_subdirectory(llvm-symbolizer) add_subdirectory(pnacl-abicheck) add_subdirectory(pnacl-freeze) +add_subdirectory(bc-wrap) if( NOT WIN32 ) add_subdirectory(lto) diff --git a/tools/bc-wrap/CMakeLists.txt b/tools/bc-wrap/CMakeLists.txt new file mode 100644 index 0000000000..7d8ce4fc11 --- /dev/null +++ b/tools/bc-wrap/CMakeLists.txt @@ -0,0 +1,5 @@ +set(LLVM_LINK_COMPONENTS wrap support ) + +add_llvm_tool(bc-wrap + bc_wrap.cpp + )
\ No newline at end of file diff --git a/tools/bc-wrap/LLVMBuild.txt b/tools/bc-wrap/LLVMBuild.txt index b515fc04b9..a91f77625e 100644 --- a/tools/bc-wrap/LLVMBuild.txt +++ b/tools/bc-wrap/LLVMBuild.txt @@ -1,4 +1,4 @@ -;===- ./tools/llc/LLVMBuild.txt --------------------------------*- Conf -*--===; +;===- ./tools/bc-wrap/LLVMBuild.txt ----------------------------*- Conf -*--===; ; ; The LLVM Compiler Infrastructure ; @@ -19,4 +19,4 @@ type = Tool name = bc-wrap parent = Tools -required_libraries = Wrap all-targets +required_libraries = Wrap Support |