llvm.org GIT mirror llvm / c81f56d
CMake: New option LLVM_BUILD_TOOLS. Renamed LLVM_EXAMPLES to LLVM_BUILD_EXAMPLES and set default to true. Documented. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79203 91177308-0d34-0410-b5e6-96231b3b80d8 Oscar Fuentes 10 years ago
2 changed file(s) with 14 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
301301 add_subdirectory(lib/Archive)
302302
303303 add_subdirectory(projects)
304 add_subdirectory(tools)
305
306 option(LLVM_EXAMPLES "Build LLVM example programs." OFF)
307 if (LLVM_EXAMPLES)
304
305 option(LLVM_BUILD_TOOLS "Build LLVM tool programs." ON)
306 if(LLVM_BUILD_TOOLS)
307 add_subdirectory(tools)
308 endif()
309
310 option(LLVM_BUILD_EXAMPLES "Build LLVM example programs." ON)
311 if(LLVM_BUILD_EXAMPLES)
308312 add_subdirectory(examples)
309313 endif ()
310314
249249 to X86. On the other cases defaults to all. Example:
250250 -DLLVM_TARGETS_TO_BUILD="X86;PowerPC;Alpha".
251251
252
LLVM_BUILD_TOOLS:BOOL
253
Build LLVM tools. Defaults to ON.
254
255
LLVM_BUILD_EXAMPLES:BOOL
256
Build LLVM examples. Defaults to ON.
257
252258
LLVM_ENABLE_THREADS:BOOL
253259
Build with threads support, if available. Defaults to ON.
254260