[llvm] r317414 - Move these CMake projects into the Tests folder on IDEs like Visual Studio rather than leave it in the root directory. NFC.
Aaron Ballman via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 4 12:39:14 PDT 2017
Author: aaronballman
Date: Sat Nov 4 12:39:14 2017
New Revision: 317414
URL: http://llvm.org/viewvc/llvm-project?rev=317414&view=rev
Log:
Move these CMake projects into the Tests folder on IDEs like Visual Studio rather than leave it in the root directory. NFC.
Modified:
llvm/trunk/unittests/Support/DynamicLibrary/CMakeLists.txt
Modified: llvm/trunk/unittests/Support/DynamicLibrary/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Support/DynamicLibrary/CMakeLists.txt?rev=317414&r1=317413&r2=317414&view=diff
==============================================================================
--- llvm/trunk/unittests/Support/DynamicLibrary/CMakeLists.txt (original)
+++ llvm/trunk/unittests/Support/DynamicLibrary/CMakeLists.txt Sat Nov 4 12:39:14 2017
@@ -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(DynamicLibrary
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}
More information about the llvm-commits
mailing list