Commit cd912149 by Jim Stichnoth

Subzero: Enable a cmake build.

This just puts the CMakeLists.txt file in place. A couple other changes are needed in other repos to make this take effect. BUG= none R=dschuff@chromium.org, mtrofin@chromium.org Review URL: https://codereview.chromium.org/998693003
parent dc7c597e
set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
Core
IRReader
NaClBitReader
Support
)
file(GLOB pnacl_sz_SRCS "src/*.cpp")
add_llvm_tool(pnacl-sz ${pnacl_sz_SRCS})
add_definitions(
-DALLOW_DUMP=1
-DALLOW_LLVM_CL=1
-DALLOW_LLVM_IR=1
-DALLOW_LLVM_IR_AS_INPUT=1
-DALLOW_DISABLE_IR_GEN=1
-DALLOW_MINIMAL_BUILD=0
)
target_link_libraries(pnacl-sz pthread)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment