]> granicus.if.org Git - llvm/commitdiff
Move these CMake projects into the Tests folder on IDEs like Visual Studio rather...
authorAaron Ballman <aaron@aaronballman.com>
Sat, 4 Nov 2017 19:39:14 +0000 (19:39 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Sat, 4 Nov 2017 19:39:14 +0000 (19:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317414 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/Support/DynamicLibrary/CMakeLists.txt

index b5844381362e3f29cbfb5b22d98c18271123a9da..9355979221aae12e26f92c7f9e9fc199f549a4e7 100644 (file)
@@ -1,6 +1,7 @@
 set(LLVM_LINK_COMPONENTS Support)
 
 add_library(DynamicLibraryLib STATIC ExportedFuncs.cxx)
+set_target_properties(DynamicLibraryLib PROPERTIES FOLDER "Tests")
 
 add_llvm_unittest(DynamicLibraryTests DynamicLibraryTest.cpp)
 target_link_libraries(DynamicLibraryTests DynamicLibraryLib)
@@ -8,6 +9,7 @@ export_executable_symbols(DynamicLibraryTests)
 
 function(dynlib_add_module NAME)
   add_library(${NAME} SHARED PipSqueak.cxx)
+  set_target_properties(${NAME} PROPERTIES FOLDER "Tests")
 
   set_output_directory(${NAME}
     BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}