# comment

#[[.rst:
MyModule
--------

bla bla
#]]

#.rst:
# ATTENTION
# alternative doc comment
#

#[=====[.rst:

3rd form

]=====]

set(CMAKE_AUTOMOC ON)
<beginfold id='1'>if</beginfold id='1'> (POLICY CMP042)
    target_link_libraries(myTaget SHARED Qt5::Core)
<endfold id='1'>else</endfold id='1'>()<beginfold id='1'>else</beginfold id='1'>()
    add_executable(myTaget ${some_var})
<endfold id='1'>endif</endfold id='1'>()

<beginfold id='2'>macro</beginfold id='2'>(my_macro arg1)
    <beginfold id='3'>foreach</beginfold id='3'>(arg ${ARGN})
    <endfold id='3'>endforeach</endfold id='3'>()
<endfold id='2'>endmacro</endfold id='2'>()
