diff --git a/src/version.cpp.cog b/src/version.cpp.cog new file mode 100644 index 0000000..943c5f4 --- /dev/null +++ b/src/version.cpp.cog @@ -0,0 +1,13 @@ +// vim: filetype=cpp : + +#include "version.hpp" + +string cellar::version::short_version() { + /*[[[cog + import cog + print("// I came from the print function!") + + cog.outl("return \"dummy cog file!\";") + ]]]*/ + //[[[end]]] +} diff --git a/src/version.hpp b/src/version.hpp new file mode 100644 index 0000000..fa2579a --- /dev/null +++ b/src/version.hpp @@ -0,0 +1,11 @@ +#ifndef __VERSION_HPP +#define __VERSION_HPP +#pragma once + +namespace cellar { + namespace version { + string short_version(); + } +} + +#endif // __VERSION_HPP