View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002332CMakeCMakepublic2005-10-05 22:332006-10-04 19:38
ReporterAndrew Maclean 
Assigned ToBrad King 
PrioritylowSeverityfeatureReproducibilityalways
StatusclosedResolutionsuspended 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002332: Block comments
DescriptionIt would be nice to have a facility to comment out blocks of code in a CMakeLists.txt file much like the /* */ in C/C++ could #* *# be used?
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0005199)
Brad King (manager)
2006-10-04 17:53

You can get part way there:

IF(0)
  # Valid code here is ignored.
ENDIF(0)

Emacs also has a comment-region function that is implemented by the cmake editing mode.

I'm going to defer this for now.
(0005216)
Andrew Maclean (reporter)
2006-10-04 19:38

OK - The IF(0) structure works quite well.

 Issue History
Date Modified Username Field Change


Copyright © 2000 - 2018 MantisBT Team