[CMake] Move llvm-shlib in prior to other tools.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221590 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi 2014-11-10 15:03:02 +00:00
parent e1e1392e13
commit c305163d14

View File

@ -8,6 +8,12 @@ else(WITH_POLLY)
list(APPEND LLVM_IMPLICIT_PROJECT_IGNORE "${LLVM_MAIN_SRC_DIR}/tools/polly")
endif(WITH_POLLY)
if( LLVM_BUILD_LLVM_DYLIB )
add_llvm_tool_subdirectory(llvm-shlib)
else()
ignore_llvm_tool_subdirectory(llvm-shlib)
endif()
add_llvm_tool_subdirectory(opt)
add_llvm_tool_subdirectory(llvm-as)
add_llvm_tool_subdirectory(llvm-dis)
@ -74,12 +80,6 @@ else()
ignore_llvm_tool_subdirectory(gold)
endif()
if( LLVM_BUILD_LLVM_DYLIB )
add_llvm_tool_subdirectory(llvm-shlib)
else()
ignore_llvm_tool_subdirectory(llvm-shlib)
endif()
add_llvm_external_project(clang)
if( NOT LLVM_INCLUDE_TOOLS STREQUAL "bootstrap-only" )