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

NAKAMURA Takumi geek4civic at gmail.com
Mon Nov 10 07:03:02 PST 2014


Author: chapuni
Date: Mon Nov 10 09:03:02 2014
New Revision: 221590

URL: http://llvm.org/viewvc/llvm-project?rev=221590&view=rev
Log:
[CMake] Move llvm-shlib in prior to other tools.

Modified:
    llvm/trunk/tools/CMakeLists.txt

Modified: llvm/trunk/tools/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/CMakeLists.txt?rev=221590&r1=221589&r2=221590&view=diff
==============================================================================
--- llvm/trunk/tools/CMakeLists.txt (original)
+++ llvm/trunk/tools/CMakeLists.txt Mon Nov 10 09:03:02 2014
@@ -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" )





More information about the llvm-commits mailing list