llvm.org GIT mirror llvm / 010bb80
Move these CMake projects into the Tests folder on IDEs like Visual Studio rather than leave it in the root directory. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317414 91177308-0d34-0410-b5e6-96231b3b80d8 Aaron Ballman 1 year, 9 months ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 set(LLVM_LINK_COMPONENTS Support)
11
22 add_library(DynamicLibraryLib STATIC ExportedFuncs.cxx)
3 set_target_properties(DynamicLibraryLib PROPERTIES FOLDER "Tests")
34
45 add_llvm_unittest(DynamicLibraryTests DynamicLibraryTest.cpp)
56 target_link_libraries(DynamicLibraryTests DynamicLibraryLib)
78
89 function(dynlib_add_module NAME)
910 add_library(${NAME} SHARED PipSqueak.cxx)
11 set_target_properties(${NAME} PROPERTIES FOLDER "Tests")
1012
1113 set_output_directory(${NAME}
1214 BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}