Snap! CMake Modules

Snap! CMake Modules ExtensionsIntroduction

Snap! comes with many different projects, all of which need a common set of cmake rules and some of those are rather complex. For that reason we created a common project used to compile all of those projects. This project is the Snap! CMake Modules.



At this point this project is available as source on our git repository at or as a Debian package on Launch PAD.

sudo add-apt-repository ppa:snapcpp/ppa
sudo apt-get update
sudo apt-get install snapcmakemodules


You got a problem with the scripts? An idea to improve them? Please post a ticket in the Support area of


In themselves the scripts do not require anything, although each script has a specific use and most require something (outside of cmake itself, of course).

For example, the macros used to lint the XML files make use of the xmllint tool from libxml2. If that tool is not available those macros will fail.


The libadvgetopt-doc package includes all the documentation on how to use the library. The different snapwebsites tools (under snapwebsites/src) will give you examples on how the library is used.

Syndicate content

Snap! Websites
An Open Source CMS System in C++

Contact Us Directly