Uncrustify: Difference between revisions

From miki
Jump to navigation Jump to search
(Created page with "Uncrustify is highly configurable source beautifier. == Reference == * [https://github.com/uncrustify/uncrustify uncrustify on GitHub] ([https://github.com/xeyownt/uncrustify...")
 
Line 3: Line 3:
== Reference ==
== Reference ==
* [https://github.com/uncrustify/uncrustify uncrustify on GitHub] ([https://github.com/xeyownt/uncrustify My fork on GitHub])
* [https://github.com/uncrustify/uncrustify uncrustify on GitHub] ([https://github.com/xeyownt/uncrustify My fork on GitHub])
:* [https://github.com/uncrustify/uncrustify/pull/855 pull request #855 - Disable indent in #pragma asm/endasm and #asm/#endasm sections]


== Build ==
== Build ==

Revision as of 14:08, 19 February 2017

Uncrustify is highly configurable source beautifier.

Reference

Build

Since v0.63, build with cmake. Instructions are given in the README:

mkdir build
cd build
cmake ..
make                 # or cmake --build .
sudo make install    # or sudo cmake --install

On Windows, install cmake, then it works the same:

md build
cd build
cmake ..
cmake --build . --config Release

You need a Windows compiler, like Visual Studio Express.