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

Side by Side Diff: CMakeLists.txt

Issue 1961743002: Subzero: Update for LLVM 3.9 (trunk). (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero@master
Patch Set: Remove unnecessary variable Created 4 years, 7 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")
(...skipping 17 matching lines...) Expand all
28 -DALLOW_LLVM_IR=1 28 -DALLOW_LLVM_IR=1
29 -DALLOW_LLVM_IR_AS_INPUT=1 29 -DALLOW_LLVM_IR_AS_INPUT=1
30 -DALLOW_TIMERS=1 30 -DALLOW_TIMERS=1
31 -DALLOW_MINIMAL_BUILD=0 31 -DALLOW_MINIMAL_BUILD=0
32 -DALLOW_WASM=0 32 -DALLOW_WASM=0
33 -DPNACL_BROWSER_TRANSLATOR=0 33 -DPNACL_BROWSER_TRANSLATOR=0
34 ) 34 )
35 add_compile_options(-Wno-undefined-var-template) 35 add_compile_options(-Wno-undefined-var-template)
36 endif() 36 endif()
37 37
38 # Define PNACL_LLVM for LLVM_VERSION <= 3.7
39 if((NOT LLVM_VERSION_MAJOR GREATER 3) AND (NOT LLVM_VERSION_MINOR GREATER 7))
40 add_definitions(
41 -DPNACL_LLVM
42 )
43 endif()
44
38 target_link_libraries(pnacl-sz pthread) 45 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