Specification for examples' building process

\cc @mishaberezin @arikon @blond