mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-27 21:50:29 +00:00
CMake: Only include LLVM example executables in the build if requested by the user
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73566 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0ab28633c6
commit
5dd4272c47
@ -287,7 +287,10 @@ add_subdirectory(lib/Archive)
|
||||
add_subdirectory(projects)
|
||||
add_subdirectory(tools)
|
||||
|
||||
add_subdirectory(examples)
|
||||
option(LLVM_EXAMPLES "Build LLVM example programs." OFF)
|
||||
if (LLVM_EXAMPLES)
|
||||
add_subdirectory(examples)
|
||||
endif ()
|
||||
|
||||
install(DIRECTORY include
|
||||
DESTINATION .
|
||||
|
Loading…
Reference in New Issue
Block a user