A simple proof of concept on how to use cmake as a scripting language, at build time start from singnature_user.c, then gen_signature.cmake.in, then CMakeLists.txt assembled from various mails and stackoverflow posts