beginnings of a cogged version file
This commit is contained in:
parent
4ef22255b0
commit
40ecf54856
13
src/version.cpp.cog
Normal file
13
src/version.cpp.cog
Normal file
@ -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]]]
|
||||||
|
}
|
11
src/version.hpp
Normal file
11
src/version.hpp
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#ifndef __VERSION_HPP
|
||||||
|
#define __VERSION_HPP
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
namespace cellar {
|
||||||
|
namespace version {
|
||||||
|
string short_version();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif // __VERSION_HPP
|
Loading…
Reference in New Issue
Block a user