Skip to content
  • Brad King's avatar
    cmRST: Teach cmake-module directive to scan bracket comments · 2945814d
    Brad King authored
    When scanning CMake module files for .rst comments, recognize
    bracket comments starting in ".rst:" too.  For example:
    
     #[[.rst:
    
    Include the bracket comment content terminated by the closing bracket.
    Exclude the line containing the bracket if it starts in "#".
    
    Teach the CMakeLib.testRST test to cover multiple bracket lengths
    and ending brackets on lines with and without "#".
    
    Update the cmake-developer.7 manual to document the bracket-comment
    syntax for .rst documentation.
    2945814d