projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't use a potentially expensive shift if all we want is one set bit.
[oota-llvm.git]
/
tools
/
CMakeLists.txt
diff --git
a/tools/CMakeLists.txt
b/tools/CMakeLists.txt
index 144e8ec3ea6323415a31dec6d90094edd3326757..e6637813cd562e0a0a9450a756d2376746b253fa 100644
(file)
--- a/
tools/CMakeLists.txt
+++ b/
tools/CMakeLists.txt
@@
-14,7
+14,6
@@
add_subdirectory(llvm-dis)
add_subdirectory(llvm-mc)
add_subdirectory(llc)
add_subdirectory(llvm-mc)
add_subdirectory(llc)
-add_subdirectory(llvm-ranlib)
add_subdirectory(llvm-ar)
add_subdirectory(llvm-nm)
add_subdirectory(llvm-size)
add_subdirectory(llvm-ar)
add_subdirectory(llvm-nm)
add_subdirectory(llvm-size)
@@
-43,19
+42,27
@@
add_subdirectory(llvm-mcmarkup)
add_subdirectory(llvm-symbolizer)
add_subdirectory(llvm-symbolizer)
+add_subdirectory(obj2yaml)
+add_subdirectory(yaml2obj)
+
if( NOT WIN32 )
add_subdirectory(lto)
endif()
if( LLVM_ENABLE_PIC )
# TODO: support other systems:
if( NOT WIN32 )
add_subdirectory(lto)
endif()
if( LLVM_ENABLE_PIC )
# TODO: support other systems:
- if( CMAKE_SYSTEM_NAME STREQUAL "Linux" )
+ if( (CMAKE_SYSTEM_NAME STREQUAL "Linux")
+ OR (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") )
add_subdirectory(gold)
endif()
endif()
add_llvm_external_project(clang)
add_subdirectory(gold)
endif()
endif()
add_llvm_external_project(clang)
-add_llvm_external_project(lld)
-add_llvm_external_project(polly)
+
+if( NOT LLVM_INCLUDE_TOOLS STREQUAL "bootstrap-only" )
+ add_llvm_external_project(lld)
+ add_llvm_external_project(lldb)
+ add_llvm_external_project(polly)
+endif()
set(LLVM_COMMON_DEPENDS ${LLVM_COMMON_DEPENDS} PARENT_SCOPE)
set(LLVM_COMMON_DEPENDS ${LLVM_COMMON_DEPENDS} PARENT_SCOPE)