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 | |
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
-rw-r--r-- | lib/CMakeLists.txt | 1 | ||||
-rw-r--r-- | lib/Wrap/CMakeLists.txt | 6 | ||||
-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 |
5 files changed, 15 insertions, 2 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index d1ea027338..7b2adec6e8 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -14,3 +14,4 @@ add_subdirectory(ExecutionEngine) add_subdirectory(Target) add_subdirectory(AsmParser) add_subdirectory(Archive) +add_subdirectory(Wrap)
\ No newline at end of file diff --git a/lib/Wrap/CMakeLists.txt b/lib/Wrap/CMakeLists.txt new file mode 100644 index 0000000000..da44a6bb56 --- /dev/null +++ b/lib/Wrap/CMakeLists.txt @@ -0,0 +1,6 @@ +add_llvm_library(LLVMWrap + bitcode_wrapperer.cpp + file_wrapper_input.cpp + file_wrapper_output.cpp + wrapper_output.cpp +)
\ No newline at end of file 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 |