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

Side by Side Diff: CMakeLists.txt

Issue 1041303002: Subzero: Fix the cmake build. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years, 8 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 set(LLVM_LINK_COMPONENTS 1 set(LLVM_LINK_COMPONENTS
2 ${LLVM_TARGETS_TO_BUILD} 2 ${LLVM_TARGETS_TO_BUILD}
3 Core 3 Core
4 IRReader 4 IRReader
5 NaClBitReader 5 NaClBitReader
6 Support 6 Support
7 ) 7 )
8 8
9 file(GLOB pnacl_sz_SRCS "src/*.cpp") 9 file(GLOB pnacl_sz_SRCS "src/*.cpp")
10 add_llvm_tool(pnacl-sz ${pnacl_sz_SRCS}) 10 add_llvm_tool(pnacl-sz ${pnacl_sz_SRCS})
11 11
12 add_definitions( 12 add_definitions(
13 -DALLOW_DUMP=1 13 -DALLOW_DUMP=1
14 -DALLOW_LLVM_CL=1 14 -DALLOW_LLVM_CL=1
15 -DALLOW_LLVM_IR=1 15 -DALLOW_LLVM_IR=1
16 -DALLOW_LLVM_IR_AS_INPUT=1 16 -DALLOW_LLVM_IR_AS_INPUT=1
17 -DALLOW_DISABLE_IR_GEN=1 17 -DALLOW_DISABLE_IR_GEN=1
18 -DALLOW_MINIMAL_BUILD=0 18 -DALLOW_MINIMAL_BUILD=0
19 ) 19 )
20 20
21 if(PNACL_BROWSER_TRANSLATOR)
22 add_definitions(-DPNACL_BROWSER_TRANSLATOR=1)
23 else()
24 add_definitions(-DPNACL_BROWSER_TRANSLATOR=0)
25 endif()
26
21 target_link_libraries(pnacl-sz pthread) 27 target_link_libraries(pnacl-sz pthread)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698