From: Matthew Fernandez Date: Tue, 1 Feb 2022 04:10:18 +0000 (+1100) Subject: CMake: [nfc] add a leading comment to a macro X-Git-Tag: 3.0.0~49^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a4564ffabfe82e8b898f7452f309c0b672727678;p=graphviz CMake: [nfc] add a leading comment to a macro Squashes a “[C0111] Missing docstring on function or macro declaration” `cmake-lint` warning. --- diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 3a45ce03d..6da9e513f 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -40,6 +40,7 @@ target_link_libraries(test_common PUBLIC gvc++ ) +# common steps for creating a test case macro(CREATE_TEST testname) add_executable(test_${testname} test_${testname}.cpp) set_target_properties(test_${testname} PROPERTIES CXX_STANDARD 20)