]> granicus.if.org Git - graphviz/commitdiff
CMake: [nfc] add a leading comment to a macro
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 1 Feb 2022 04:10:18 +0000 (15:10 +1100)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 1 Feb 2022 04:29:03 +0000 (15:29 +1100)
Squashes a “[C0111] Missing docstring on function or macro declaration”
`cmake-lint` warning.

tests/CMakeLists.txt

index 3a45ce03d5178b38682681145bd54ea14d1feb14..6da9e513f55d9940b49bd85bea4b839c1f7f156e 100644 (file)
@@ -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)