1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

[CMake] add_lit_target: Tests should be excluded from "Build Solution".

llvm-svn: 196093
This commit is contained in:
NAKAMURA Takumi 2013-12-02 11:31:19 +00:00
parent aec919de4b
commit ba8c4a443d

View File

@ -341,6 +341,9 @@ function(add_lit_target target comment)
COMMAND cmake -E echo "${target} does nothing, no tools built.")
message(STATUS "${target} does nothing.")
endif()
# Tests should be excluded from "Build Solution".
set_target_properties(${target} PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD ON)
endfunction()
# A function to add a set of lit test suites to be driven through 'check-*' targets.