[llvm] r225353 - Manually specify the folder that llvm-ranlib should reside in for CMake-produced solutions that care about such things (like MSVC). This takes llvm-ranlib out of the root solution folder and places it into the Tools folder where it belongs.

Aaron Ballman aaron at aaronballman.com
Wed Jan 7 06:19:15 PST 2015


Author: aaronballman
Date: Wed Jan  7 08:19:15 2015
New Revision: 225353

URL: http://llvm.org/viewvc/llvm-project?rev=225353&view=rev
Log:
Manually specify the folder that llvm-ranlib should reside in for CMake-produced solutions that care about such things (like MSVC). This takes llvm-ranlib out of the root solution folder and places it into the Tools folder where it belongs.

Modified:
    llvm/trunk/tools/llvm-ar/CMakeLists.txt

Modified: llvm/trunk/tools/llvm-ar/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-ar/CMakeLists.txt?rev=225353&r1=225352&r2=225353&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-ar/CMakeLists.txt (original)
+++ llvm/trunk/tools/llvm-ar/CMakeLists.txt Wed Jan  7 08:19:15 2015
@@ -24,4 +24,6 @@ add_custom_command(OUTPUT ${llvm_ranlib}
                    DEPENDS llvm-ar)
 
 add_custom_target(llvm-ranlib ALL DEPENDS ${llvm_ranlib})
+set_target_properties(llvm-ranlib PROPERTIES FOLDER Tools)
+
 install(SCRIPT install_symlink.cmake -DCMAKE_INSTALL_PREFIX=\"${CMAKE_INSTALL_PREFIX}\")





More information about the llvm-commits mailing list