Skip to content

Commit eba6bce

Browse files
committed
Also set FULL_DOCS =S
1 parent db2fb78 commit eba6bce

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

clang/unittests/CMakeLists.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,11 @@ function(add_distinct_clang_unittest test_name)
4747
target_link_libraries(${test_name} PRIVATE ${ARG_LINK_LIBS})
4848
endfunction()
4949

50-
define_property(GLOBAL PROPERTY CLANG_UNITTEST_SRCS BRIEF_DOCS "<internal setting>")
51-
define_property(GLOBAL PROPERTY CLANG_UNITTEST_LLVM_COMPONENTS BRIEF_DOCS "<internal setting>")
52-
define_property(GLOBAL PROPERTY CLANG_UNITTEST_CLANG_LIBS BRIEF_DOCS "<internal setting>")
53-
define_property(GLOBAL PROPERTY CLANG_UNITTEST_LINK_LIBS BRIEF_DOCS "<internal setting>")
50+
set(doc_opts BRIEF_DOCS "<internal setting>" FULL_DOCS "<internal settings>")
51+
define_property(GLOBAL PROPERTY CLANG_UNITTEST_SRCS ${doc_opts})
52+
define_property(GLOBAL PROPERTY CLANG_UNITTEST_LLVM_COMPONENTS ${doc_opts})
53+
define_property(GLOBAL PROPERTY CLANG_UNITTEST_CLANG_LIBS ${doc_opts})
54+
define_property(GLOBAL PROPERTY CLANG_UNITTEST_LINK_LIBS ${doc_opts})
5455

5556
# add_clang_unittest(test_name file1.cpp file2.cpp)
5657
#

0 commit comments

Comments
 (0)