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

Side by Side Diff: CMakeLists.txt

Issue 1788873004: Subzero: Fix the Makefile for the LLVM build. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 4 years, 9 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 | Makefile » ('j') | 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 NaClBitTestUtils 6 NaClBitTestUtils
7 Support 7 Support
8 ) 8 )
9 9
10 file(GLOB pnacl_sz_SRCS "src/*.cpp") 10 file(GLOB pnacl_sz_SRCS "src/*.cpp")
11 add_llvm_tool(pnacl-sz ${pnacl_sz_SRCS}) 11 add_llvm_tool(pnacl-sz ${pnacl_sz_SRCS})
12 12
13 if(PNACL_BROWSER_TRANSLATOR) 13 if(PNACL_BROWSER_TRANSLATOR)
14 add_definitions( 14 add_definitions(
15 -DALLOW_DUMP=0 15 -DALLOW_DUMP=0
16 -DALLOW_LLVM_CL=0 16 -DALLOW_LLVM_CL=0
17 -DALLOW_LLVM_IR=0 17 -DALLOW_LLVM_IR=0
18 -DALLOW_LLVM_IR_AS_INPUT=0 18 -DALLOW_LLVM_IR_AS_INPUT=0
19 -DALLOW_TIMERS=0
19 -DALLOW_MINIMAL_BUILD=1 20 -DALLOW_MINIMAL_BUILD=1
20 -DPNACL_BROWSER_TRANSLATOR=1 21 -DPNACL_BROWSER_TRANSLATOR=1
21 ) 22 )
22 else() 23 else()
23 add_definitions( 24 add_definitions(
24 -DALLOW_DUMP=1 25 -DALLOW_DUMP=1
25 -DALLOW_LLVM_CL=1 26 -DALLOW_LLVM_CL=1
26 -DALLOW_LLVM_IR=1 27 -DALLOW_LLVM_IR=1
27 -DALLOW_LLVM_IR_AS_INPUT=1 28 -DALLOW_LLVM_IR_AS_INPUT=1
29 -DALLOW_TIMERS=1
28 -DALLOW_MINIMAL_BUILD=0 30 -DALLOW_MINIMAL_BUILD=0
29 -DPNACL_BROWSER_TRANSLATOR=0 31 -DPNACL_BROWSER_TRANSLATOR=0
30 ) 32 )
31 endif() 33 endif()
32 34
33 target_link_libraries(pnacl-sz pthread) 35 target_link_libraries(pnacl-sz pthread)
OLDNEW
« no previous file with comments | « no previous file | Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698