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

Aaron Ballman aaron at aaronballman.com
Wed Jan 7 06:26:08 PST 2015


Author: aaronballman
Date: Wed Jan  7 08:26:07 2015
New Revision: 225354

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

Modified:
    llvm/trunk/examples/Kaleidoscope/CMakeLists.txt

Modified: llvm/trunk/examples/Kaleidoscope/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/examples/Kaleidoscope/CMakeLists.txt?rev=225354&r1=225353&r2=225354&view=diff
==============================================================================
--- llvm/trunk/examples/Kaleidoscope/CMakeLists.txt (original)
+++ llvm/trunk/examples/Kaleidoscope/CMakeLists.txt Wed Jan  7 08:26:07 2015
@@ -1,4 +1,5 @@
 add_custom_target(Kaleidoscope)
+set_target_properties(Kaleidoscope PROPERTIES FOLDER Examples)
 
 macro(add_kaleidoscope_chapter name)
   add_dependencies(Kaleidoscope ${name})





More information about the llvm-commits mailing list