On 2014-01-31 13:55+0400 Игорь Пашев wrote:

Code formatting is completely out of scope of building system.

I disagree with your attempt to shut off discussion.

Some projects don't use code styling, others run a script
aperiodically to clean up the code (PLplot uses uncrustify that way).
Both of those cases are out of CMake scope, but I am also sure that
some projects (like is clear with the OP) prefer code styling to be
under CMake control.  So my own opinion is that topic is certainly a
legitimate one here.

And to answer the OP's question, I can highly recommend uncrustify for
code styling, but to my knowledge there is no CMake support for
uncrustify (yet).

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________
--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to