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

Side by Side Diff: CMakeLists.txt

Issue 1019043002: CMake option to install utils, e.g. FileCheck (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: Added LOCALMOD Created 5 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 | cmake/modules/AddLLVM.cmake » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # See docs/CMake.html for instructions about how to build LLVM with CMake. 1 # See docs/CMake.html for instructions about how to build LLVM with CMake.
2 2
3 cmake_minimum_required(VERSION 2.8.8) 3 cmake_minimum_required(VERSION 2.8.8)
4 4
5 # FIXME: It may be removed when we use 2.8.12. 5 # FIXME: It may be removed when we use 2.8.12.
6 if(CMAKE_VERSION VERSION_LESS 2.8.12) 6 if(CMAKE_VERSION VERSION_LESS 2.8.12)
7 # Invalidate a couple of keywords. 7 # Invalidate a couple of keywords.
8 set(cmake_2_8_12_INTERFACE) 8 set(cmake_2_8_12_INTERFACE)
9 set(cmake_2_8_12_PRIVATE) 9 set(cmake_2_8_12_PRIVATE)
10 else() 10 else()
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 ) 58 )
59 59
60 set(LLVM_VERSION_MAJOR 3) 60 set(LLVM_VERSION_MAJOR 3)
61 set(LLVM_VERSION_MINOR 6) 61 set(LLVM_VERSION_MINOR 6)
62 set(LLVM_VERSION_PATCH 0) 62 set(LLVM_VERSION_PATCH 0)
63 63
64 if (NOT PACKAGE_VERSION) 64 if (NOT PACKAGE_VERSION)
65 set(PACKAGE_VERSION "${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSIO N_PATCH}svn") 65 set(PACKAGE_VERSION "${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSIO N_PATCH}svn")
66 endif() 66 endif()
67 67
68 # @LOCALMOD
69 option(LLVM_INSTALL_UTILS "Include utility binaries in the 'install' target." OF F)
70
68 option(LLVM_INSTALL_TOOLCHAIN_ONLY "Only include toolchain files in the 'install ' target." OFF) 71 option(LLVM_INSTALL_TOOLCHAIN_ONLY "Only include toolchain files in the 'install ' target." OFF)
69 72
70 option(LLVM_USE_FOLDERS "Enable solution folders in Visual Studio. Disable for E xpress versions." ON) 73 option(LLVM_USE_FOLDERS "Enable solution folders in Visual Studio. Disable for E xpress versions." ON)
71 if ( LLVM_USE_FOLDERS ) 74 if ( LLVM_USE_FOLDERS )
72 set_property(GLOBAL PROPERTY USE_FOLDERS ON) 75 set_property(GLOBAL PROPERTY USE_FOLDERS ON)
73 endif() 76 endif()
74 77
75 include(VersionFromVCS) 78 include(VersionFromVCS)
76 79
77 option(LLVM_APPEND_VC_REV 80 option(LLVM_APPEND_VC_REV
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after
642 PATTERN "*.def" 645 PATTERN "*.def"
643 PATTERN "*.h" 646 PATTERN "*.h"
644 PATTERN "*.gen" 647 PATTERN "*.gen"
645 PATTERN "*.inc" 648 PATTERN "*.inc"
646 # Exclude include/llvm/CMakeFiles/intrinsics_gen.dir, matched by "*.def" 649 # Exclude include/llvm/CMakeFiles/intrinsics_gen.dir, matched by "*.def"
647 PATTERN "CMakeFiles" EXCLUDE 650 PATTERN "CMakeFiles" EXCLUDE
648 PATTERN "config.h" EXCLUDE 651 PATTERN "config.h" EXCLUDE
649 PATTERN ".svn" EXCLUDE 652 PATTERN ".svn" EXCLUDE
650 ) 653 )
651 endif() 654 endif()
OLDNEW
« no previous file with comments | « no previous file | cmake/modules/AddLLVM.cmake » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698