beginnings of a cogged version file

This commit is contained in:
Nicholas O'Connor committed 2017-03-22 20:13:24 -07:00
1 parent 4ef22255b0
commit 40ecf54856
2 files changed
+24

No files matched your search

+13
View 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
View File
@@ -0,0 +1,11 @@
#ifndef __VERSION_HPP
#define __VERSION_HPP
#pragma once
namespace cellar {
namespace version {
string short_version();
}
}
#endif // __VERSION_HPP