Skip to content

Commit

Permalink
Move these CMake projects into the Tests folder on IDEs like Visual S…
Browse files Browse the repository at this point in the history
…tudio 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
  • Loading branch information
AaronBallman committed Nov 4, 2017
1 parent 1b23a75 commit 010bb80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions unittests/Support/DynamicLibrary/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
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)
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}
Expand Down

0 comments on commit 010bb80

Please sign in to comment.