Is there any way to comment a block in CMake in notepad++ editor?
I have tried searching on Google, but couldn't find much.
Help is needed! Thanks,
As of CMake 3.0 there is a special syntax for block comments which start with #[[
and ends with ]]
at the end of block comment. See CMake documentation for further explanation. Some editors and IDEs do not support it yet.
if(FALSE) # fake a block comment endif()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With