blob: 386f3e714250fa40b11b8f178779c642ae8f7fd5 [file] [log] [blame]
Oscar Fuentes67410b32011-02-03 20:57:53 +00001# If we are not building as a part of LLVM, build Clang as an
2# standalone project, using LLVM as an external library:
3if( CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR )
4 project(Clang)
5 cmake_minimum_required(VERSION 2.8)
6
7 set(CLANG_PATH_TO_LLVM_SOURCE "" CACHE PATH
8 "Path to LLVM source code. Not necessary if using an installed LLVM.")
9 set(CLANG_PATH_TO_LLVM_BUILD "" CACHE PATH
10 "Path to the directory where LLVM was built or installed.")
11
12 if( CLANG_PATH_TO_LLVM_SOURCE )
13 if( NOT EXISTS "${CLANG_PATH_TO_LLVM_SOURCE}/cmake/config-ix.cmake" )
14 message(FATAL_ERROR "Please set CLANG_PATH_TO_LLVM_SOURCE to the root directory of LLVM source code.")
15 else()
16 get_filename_component(LLVM_MAIN_SRC_DIR ${CLANG_PATH_TO_LLVM_SOURCE}
17 ABSOLUTE)
18 list(APPEND CMAKE_MODULE_PATH "${LLVM_MAIN_SRC_DIR}/cmake/modules")
19 endif()
20 endif()
21
Hans Wennborge90340a2013-08-23 18:05:24 +000022 if (EXISTS "${CLANG_PATH_TO_LLVM_BUILD}/bin/llvm-config${CMAKE_EXECUTABLE_SUFFIX}")
23 set (PATH_TO_LLVM_CONFIG "${CLANG_PATH_TO_LLVM_BUILD}/bin/llvm-config${CMAKE_EXECUTABLE_SUFFIX}")
24 elseif (EXISTS "${CLANG_PATH_TO_LLVM_BUILD}/bin/Debug/llvm-config${CMAKE_EXECUTABLE_SUFFIX}")
25 # Looking for bin/Debug/llvm-config is a complete hack. How can we get
Douglas Gregor17031a22011-07-14 23:42:32 +000026 # around this?
Hans Wennborge90340a2013-08-23 18:05:24 +000027 set (PATH_TO_LLVM_CONFIG "${CLANG_PATH_TO_LLVM_BUILD}/bin/Debug/llvm-config${CMAKE_EXECUTABLE_SUFFIX}")
28 else()
29 message(FATAL_ERROR "Please set CLANG_PATH_TO_LLVM_BUILD to a directory containing a LLVM build.")
Oscar Fuentes67410b32011-02-03 20:57:53 +000030 endif()
31
32 list(APPEND CMAKE_MODULE_PATH "${CLANG_PATH_TO_LLVM_BUILD}/share/llvm/cmake")
33
34 get_filename_component(PATH_TO_LLVM_BUILD ${CLANG_PATH_TO_LLVM_BUILD}
35 ABSOLUTE)
36
37 include(AddLLVM)
38 include(TableGen)
Oscar Fuentes5ec8a4d2011-04-10 16:17:31 +000039 include("${CLANG_PATH_TO_LLVM_BUILD}/share/llvm/cmake/LLVMConfig.cmake")
Oscar Fuentes67410b32011-02-03 20:57:53 +000040 include(HandleLLVMOptions)
41
42 set(PACKAGE_VERSION "${LLVM_PACKAGE_VERSION}")
43
44 set(LLVM_MAIN_INCLUDE_DIR "${LLVM_MAIN_SRC_DIR}/include")
45 set(LLVM_BINARY_DIR ${CMAKE_BINARY_DIR})
46
Oscar Fuentesb641f082011-02-14 20:14:11 +000047 set(CMAKE_INCLUDE_CURRENT_DIR ON)
Oscar Fuentes67410b32011-02-03 20:57:53 +000048 include_directories("${PATH_TO_LLVM_BUILD}/include" "${LLVM_MAIN_INCLUDE_DIR}")
Oscar Fuentes67410b32011-02-03 20:57:53 +000049 link_directories("${PATH_TO_LLVM_BUILD}/lib")
50
Hans Wennborge90340a2013-08-23 18:05:24 +000051 exec_program("${PATH_TO_LLVM_CONFIG} --bindir" OUTPUT_VARIABLE LLVM_TABLEGEN_EXE)
52 set(LLVM_TABLEGEN_EXE "${LLVM_TABLEGEN_EXE}/llvm-tblgen${CMAKE_EXECUTABLE_SUFFIX}")
Oscar Fuentes67410b32011-02-03 20:57:53 +000053
Chandler Carruth9224fb82012-07-02 20:52:55 +000054 # Define the default arguments to use with 'lit', and an option for the user
55 # to override.
56 set(LIT_ARGS_DEFAULT "-sv")
57 if (MSVC OR XCODE)
58 set(LIT_ARGS_DEFAULT "${LIT_ARGS_DEFAULT} --no-progress-bar")
59 endif()
60 set(LLVM_LIT_ARGS "${LIT_ARGS_DEFAULT}" CACHE STRING "Default options for lit")
61
Oscar Fuentes67410b32011-02-03 20:57:53 +000062 set( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin )
63 set( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib )
64 set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib )
65
Jeffrey Yasskin718b01d2011-02-15 07:54:28 +000066 set( CLANG_BUILT_STANDALONE 1 )
Douglas Gregora34173e2012-12-18 19:39:40 +000067
68 find_package(LibXml2)
69 if (LIBXML2_FOUND)
70 set(CLANG_HAVE_LIBXML 1)
71 endif ()
Oscar Fuentes67410b32011-02-03 20:57:53 +000072endif()
Douglas Gregor34d9ffa2009-09-16 21:59:05 +000073
Oscar Fuentes2100fe92011-02-03 22:48:20 +000074set(CLANG_RESOURCE_DIR "" CACHE STRING
75 "Relative directory from the Clang binary to its resource files.")
76
77set(C_INCLUDE_DIRS "" CACHE STRING
78 "Colon separated list of directories clang will search for headers.")
79
Sebastian Pop4762a2d2012-04-16 04:16:43 +000080set(GCC_INSTALL_PREFIX "" CACHE PATH "Directory where gcc is installed." )
81set(DEFAULT_SYSROOT "" CACHE PATH
82 "Default <path> to all compiler invocations for --sysroot=<path>." )
83
Oscar Fuentesf752d5b2011-05-20 15:57:59 +000084set(CLANG_VENDOR "" CACHE STRING
85 "Vendor-specific text for showing with version information.")
86
87if( CLANG_VENDOR )
88 add_definitions( -DCLANG_VENDOR="${CLANG_VENDOR} " )
89endif()
90
Michael Gottesmana8c0e4f2013-08-15 19:22:33 +000091set(CLANG_REPOSITORY_STRING "" CACHE STRING
92 "Vendor-specific text for showing the repository the source is taken from.")
93
94if(CLANG_REPOSITORY_STRING)
95 add_definitions(-DCLANG_REPOSITORY_STRING="${CLANG_REPOSITORY_STRING}")
96endif()
97
Michael Gottesmanf3535112013-08-15 19:22:36 +000098set(CLANG_VENDOR_UTI "org.llvm.clang" CACHE STRING
99 "Vendor-specific uti.")
100
Daniel Dunbar91ee77a2009-09-17 00:07:10 +0000101set(CLANG_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
102set(CLANG_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR})
103
Chandler Carruth63e9c0d2010-04-17 20:12:02 +0000104if( CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR AND NOT MSVC_IDE )
105 message(FATAL_ERROR "In-source builds are not allowed. CMake would overwrite "
106"the makefiles distributed with LLVM. Please create a directory and run cmake "
107"from there, passing the path to this source directory as the last argument. "
108"This process created the file `CMakeCache.txt' and the directory "
109"`CMakeFiles'. Please delete them.")
110endif()
111
112if( NOT CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR )
113 file(GLOB_RECURSE
114 tablegenned_files_on_include_dir
115 "${CLANG_SOURCE_DIR}/include/clang/*.inc")
116 if( tablegenned_files_on_include_dir )
117 message(FATAL_ERROR "Apparently there is a previous in-source build, "
118"probably as the result of running `configure' and `make' on "
119"${CLANG_SOURCE_DIR}. This may cause problems. The suspicious files are:\n"
120"${tablegenned_files_on_include_dir}\nPlease clean the source directory.")
121 endif()
122endif()
123
Daniel Dunbarc4b8e922010-06-25 23:34:47 +0000124# Compute the Clang version from the LLVM version.
Michael J. Spencer5a7f3492010-09-10 21:13:16 +0000125string(REGEX MATCH "[0-9]+\\.[0-9]+(\\.[0-9]+)?" CLANG_VERSION
Daniel Dunbarc4b8e922010-06-25 23:34:47 +0000126 ${PACKAGE_VERSION})
Douglas Gregor34d9ffa2009-09-16 21:59:05 +0000127message(STATUS "Clang version: ${CLANG_VERSION}")
Douglas Gregor7f7b7482009-08-23 05:28:29 +0000128
Daniel Dunbara5107672010-06-25 17:33:46 +0000129string(REGEX REPLACE "([0-9]+)\\.[0-9]+(\\.[0-9]+)?" "\\1" CLANG_VERSION_MAJOR
130 ${CLANG_VERSION})
131string(REGEX REPLACE "[0-9]+\\.([0-9]+)(\\.[0-9]+)?" "\\1" CLANG_VERSION_MINOR
132 ${CLANG_VERSION})
133if (${CLANG_VERSION} MATCHES "[0-9]+\\.[0-9]+\\.[0-9]+")
134 set(CLANG_HAS_VERSION_PATCHLEVEL 1)
135 string(REGEX REPLACE "[0-9]+\\.[0-9]+\\.([0-9]+)" "\\1" CLANG_VERSION_PATCHLEVEL
136 ${CLANG_VERSION})
137else()
138 set(CLANG_HAS_VERSION_PATCHLEVEL 0)
139endif()
140
141# Configure the Version.inc file.
142configure_file(
143 ${CMAKE_CURRENT_SOURCE_DIR}/include/clang/Basic/Version.inc.in
144 ${CMAKE_CURRENT_BINARY_DIR}/include/clang/Basic/Version.inc)
145
Douglas Gregor9df3faf2009-09-18 14:47:57 +0000146# Add appropriate flags for GCC
Oscar Fuentesc5cd2522011-05-11 13:53:30 +0000147if (LLVM_COMPILER_IS_GCC_COMPATIBLE)
Richard Smith19258e82013-04-22 14:51:21 +0000148 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-common -Woverloaded-virtual -Wcast-qual -fno-strict-aliasing")
149
150 # Enable -pedantic for Clang even if it's not enabled for LLVM.
151 if (NOT LLVM_ENABLE_PEDANTIC)
152 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -Wno-long-long")
153 endif ()
Jordan Rose549a2922013-03-02 00:49:47 +0000154
155 check_cxx_compiler_flag("-Werror -Wnested-anon-types" CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG)
156 if( CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG )
157 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-nested-anon-types" )
158 endif()
Douglas Gregor9df3faf2009-09-18 14:47:57 +0000159endif ()
160
Douglas Gregoreb5dc492010-06-08 19:23:49 +0000161if (APPLE)
Andy Gibbs39bdd4f2013-06-12 20:02:59 +0000162 set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,-flat_namespace -Wl,-undefined -Wl,suppress")
Douglas Gregoreb5dc492010-06-08 19:23:49 +0000163endif ()
164
Oscar Fuentes2100fe92011-02-03 22:48:20 +0000165configure_file(
166 ${CLANG_SOURCE_DIR}/include/clang/Config/config.h.cmake
167 ${CLANG_BINARY_DIR}/include/clang/Config/config.h)
168
Oscar Fuentesc8da1ec2011-02-20 22:06:32 +0000169include(LLVMParseArguments)
170
171function(clang_tablegen)
172 # Syntax:
173 # clang_tablegen output-file [tablegen-arg ...] SOURCE source-file
174 # [[TARGET cmake-target-name] [DEPENDS extra-dependency ...]]
175 #
176 # Generates a custom command for invoking tblgen as
177 #
178 # tblgen source-file -o=output-file tablegen-arg ...
179 #
180 # and, if cmake-target-name is provided, creates a custom target for
181 # executing the custom command depending on output-file. It is
182 # possible to list more files to depend after DEPENDS.
183
184 parse_arguments( CTG "SOURCE;TARGET;DEPENDS" "" ${ARGN} )
185
186 if( NOT CTG_SOURCE )
187 message(FATAL_ERROR "SOURCE source-file required by clang_tablegen")
188 endif()
189
190 set( LLVM_TARGET_DEFINITIONS ${CTG_SOURCE} )
Peter Collingbourne51d77772011-10-06 13:03:08 +0000191 tablegen( CLANG ${CTG_DEFAULT_ARGS} )
Oscar Fuentesc8da1ec2011-02-20 22:06:32 +0000192
193 list( GET CTG_DEFAULT_ARGS 0 output_file )
194 if( CTG_TARGET )
195 add_custom_target( ${CTG_TARGET} DEPENDS ${output_file} ${CTG_DEPENDS} )
Oscar Fuentesa3f787c2011-02-20 22:06:44 +0000196 set_target_properties( ${CTG_TARGET} PROPERTIES FOLDER "Clang tablegenning")
Oscar Fuentesc8da1ec2011-02-20 22:06:32 +0000197 endif()
198endfunction(clang_tablegen)
199
Oscar Fuentesd2f4e5e2008-10-26 00:56:18 +0000200macro(add_clang_library name)
Oscar Fuentes99174012011-01-03 17:00:02 +0000201 llvm_process_sources(srcs ${ARGN})
Ted Kremenekbf5de3f2009-03-25 20:34:07 +0000202 if(MSVC_IDE OR XCODE)
Jordan Rose340d0d32012-10-23 21:54:03 +0000203 # Add public headers
204 file(RELATIVE_PATH lib_path
205 ${CLANG_SOURCE_DIR}/lib/
206 ${CMAKE_CURRENT_SOURCE_DIR}
207 )
208 if(NOT lib_path MATCHES "^[.][.]")
209 file( GLOB_RECURSE headers
210 ${CLANG_SOURCE_DIR}/include/clang/${lib_path}/*.h
211 ${CLANG_SOURCE_DIR}/include/clang/${lib_path}/*.def
212 )
213 set_source_files_properties(${headers} PROPERTIES HEADER_FILE_ONLY ON)
214
215 file( GLOB_RECURSE tds
216 ${CLANG_SOURCE_DIR}/include/clang/${lib_path}/*.td
217 )
218 source_group("TableGen descriptions" FILES ${tds})
219 set_source_files_properties(${tds}} PROPERTIES HEADER_FILE_ONLY ON)
220
221 set(srcs ${srcs} ${headers} ${tds})
222 endif()
Ted Kremenekbf5de3f2009-03-25 20:34:07 +0000223 endif(MSVC_IDE OR XCODE)
Douglas Gregoreb5dc492010-06-08 19:23:49 +0000224 if (MODULE)
225 set(libkind MODULE)
226 elseif (SHARED_LIBRARY)
Douglas Gregorac47bc72009-09-25 06:35:15 +0000227 set(libkind SHARED)
228 else()
229 set(libkind)
230 endif()
231 add_library( ${name} ${libkind} ${srcs} )
Oscar Fuentesd2f4e5e2008-10-26 00:56:18 +0000232 if( LLVM_COMMON_DEPENDS )
233 add_dependencies( ${name} ${LLVM_COMMON_DEPENDS} )
234 endif( LLVM_COMMON_DEPENDS )
Oscar Fuentesfb767c82011-03-29 20:51:00 +0000235
Oscar Fuentesfb767c82011-03-29 20:51:00 +0000236 llvm_config( ${name} ${LLVM_LINK_COMPONENTS} )
237 target_link_libraries( ${name} ${LLVM_COMMON_LIBS} )
238 link_system_libs( ${name} )
239
Oscar Fuentesd2f4e5e2008-10-26 00:56:18 +0000240 install(TARGETS ${name}
Oscar Fuentesbfb06ea2009-10-27 19:42:21 +0000241 LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX}
NAKAMURA Takumiee7a1982012-02-25 16:46:50 +0000242 ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX}
243 RUNTIME DESTINATION bin)
Oscar Fuentesa3f787c2011-02-20 22:06:44 +0000244 set_target_properties(${name} PROPERTIES FOLDER "Clang libraries")
Oscar Fuentesd2f4e5e2008-10-26 00:56:18 +0000245endmacro(add_clang_library)
246
247macro(add_clang_executable name)
Oscar Fuentes99174012011-01-03 17:00:02 +0000248 add_llvm_executable( ${name} ${ARGN} )
Oscar Fuentesa3f787c2011-02-20 22:06:44 +0000249 set_target_properties(${name} PROPERTIES FOLDER "Clang executables")
Oscar Fuentesd2f4e5e2008-10-26 00:56:18 +0000250endmacro(add_clang_executable)
251
Oscar Fuentes617508f2011-03-17 19:03:04 +0000252include_directories(BEFORE
Douglas Gregora393e9e2009-03-16 23:06:59 +0000253 ${CMAKE_CURRENT_BINARY_DIR}/include
Oscar Fuentes617508f2011-03-17 19:03:04 +0000254 ${CMAKE_CURRENT_SOURCE_DIR}/include
Oscar Fuentesd2f4e5e2008-10-26 00:56:18 +0000255 )
256
Oscar Fuentes82cac292009-10-27 19:59:34 +0000257install(DIRECTORY include/
258 DESTINATION include
259 FILES_MATCHING
260 PATTERN "*.def"
261 PATTERN "*.h"
Dylan Noblesmitheafa50b2012-02-01 22:22:37 +0000262 PATTERN "config.h" EXCLUDE
Chris Lattnerbc6ec752008-11-11 18:39:10 +0000263 PATTERN ".svn" EXCLUDE
264 )
265
Kovarththanan Rajaratnamec700a62010-04-01 14:24:41 +0000266install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include/
267 DESTINATION include
268 FILES_MATCHING
Chris Lattnerd7d5bb12010-04-25 04:59:35 +0000269 PATTERN "CMakeFiles" EXCLUDE
Kovarththanan Rajaratnamec700a62010-04-01 14:24:41 +0000270 PATTERN "*.inc"
271 )
272
Dylan Noblesmithcc8a9452012-02-14 15:54:49 +0000273add_definitions( -D_GNU_SOURCE )
Oscar Fuentesd2f4e5e2008-10-26 00:56:18 +0000274
Jordan Rosee6385032013-08-22 15:50:02 +0000275option(CLANG_ENABLE_ARCMT "Build ARCMT." ON)
276option(CLANG_ENABLE_REWRITER "Build rewriter." ON)
277option(CLANG_ENABLE_STATIC_ANALYZER "Build static analyzer." ON)
Roman Divackyff62d642013-05-29 21:09:18 +0000278
279if (NOT CLANG_ENABLE_REWRITER AND CLANG_ENABLE_ARCMT)
280 message(FATAL_ERROR "Cannot disable rewriter while enabling ARCMT")
281endif()
282
283if (NOT CLANG_ENABLE_REWRITER AND CLANG_ENABLE_STATIC_ANALYZER)
284 message(FATAL_ERROR "Cannot disable rewriter while enabling static analyzer")
285endif()
286
Jordan Rosee6385032013-08-22 15:50:02 +0000287if (NOT CLANG_ENABLE_STATIC_ANALYZER AND CLANG_ENABLE_ARCMT)
288 message(FATAL_ERROR "Cannot disable static analyzer while enabling ARCMT")
289endif()
290
Roman Divackyff62d642013-05-29 21:09:18 +0000291if(CLANG_ENABLE_ARCMT)
292 add_definitions(-DCLANG_ENABLE_ARCMT)
293endif()
294if(CLANG_ENABLE_REWRITER)
295 add_definitions(-DCLANG_ENABLE_REWRITER)
296endif()
297if(CLANG_ENABLE_STATIC_ANALYZER)
298 add_definitions(-DCLANG_ENABLE_STATIC_ANALYZER)
299endif()
NAKAMURA Takumi68f22af2012-12-13 16:24:59 +0000300
Douglas Gregor8435bf92011-02-25 19:24:02 +0000301# Clang version information
302set(CLANG_EXECUTABLE_VERSION
303 "${CLANG_VERSION_MAJOR}.${CLANG_VERSION_MINOR}" CACHE STRING
304 "Version number that will be placed into the clang executable, in the form XX.YY")
305set(LIBCLANG_LIBRARY_VERSION
306 "${CLANG_VERSION_MAJOR}.${CLANG_VERSION_MINOR}" CACHE STRING
307 "Version number that will be placed into the libclang library , in the form XX.YY")
308mark_as_advanced(CLANG_EXECUTABLE_VERSION LIBCLANG_LIBRARY_VERSION)
309
Peter Collingbourne51d77772011-10-06 13:03:08 +0000310add_subdirectory(utils/TableGen)
Douglas Gregor8435bf92011-02-25 19:24:02 +0000311
Douglas Gregora393e9e2009-03-16 23:06:59 +0000312add_subdirectory(include)
Oscar Fuentesd2f4e5e2008-10-26 00:56:18 +0000313add_subdirectory(lib)
Daniel Dunbarcbcd98b2009-03-24 02:52:57 +0000314add_subdirectory(tools)
Michael J. Spencer48263ba2010-12-16 03:28:42 +0000315add_subdirectory(runtime)
Oscar Fuentesd2f4e5e2008-10-26 00:56:18 +0000316
NAKAMURA Takumie3120ae2012-07-27 06:17:48 +0000317option(CLANG_BUILD_EXAMPLES "Build CLANG example programs by default." OFF)
318add_subdirectory(examples)
319
Jordan Rose3092d9d2013-02-08 01:42:37 +0000320option(CLANG_INCLUDE_TESTS
321 "Generate build targets for the Clang unit tests."
Jordan Rose6bbaa772013-02-08 07:28:25 +0000322 ${LLVM_INCLUDE_TESTS})
Jordan Rose3092d9d2013-02-08 01:42:37 +0000323
Alexey Samsonov863fb352013-02-26 09:43:27 +0000324# TODO: docs.
Alexey Samsonov863fb352013-02-26 09:43:27 +0000325
Jordan Rose3092d9d2013-02-08 01:42:37 +0000326if( CLANG_INCLUDE_TESTS )
Michael Gottesman7758bb52013-08-20 07:09:54 +0000327 add_subdirectory(test)
Jordan Rose3092d9d2013-02-08 01:42:37 +0000328 add_subdirectory(unittests)
Jeffrey Yasskin718b01d2011-02-15 07:54:28 +0000329endif()
NAKAMURA Takumi792f9752011-02-16 03:07:15 +0000330
331# Workaround for MSVS10 to avoid the Dialog Hell
332# FIXME: This could be removed with future version of CMake.
333if( CLANG_BUILT_STANDALONE AND MSVC_VERSION EQUAL 1600 )
334 set(CLANG_SLN_FILENAME "${CMAKE_CURRENT_BINARY_DIR}/Clang.sln")
335 if( EXISTS "${CLANG_SLN_FILENAME}" )
336 file(APPEND "${CLANG_SLN_FILENAME}" "\n# This should be regenerated!\n")
337 endif()
338endif()
Chad Rosierfc614272011-08-02 20:44:34 +0000339
340set(BUG_REPORT_URL "http://llvm.org/bugs/" CACHE STRING
341 "Default URL where bug reports are to be submitted.")
Michael Gottesmanf65456f2013-08-20 07:41:18 +0000342
343option(CLANG_ORDER_FILE
344 "Order file to use when compiling clang in order to improve startup time." "")