commit | a316cd8a76e13927038cad67cdc436fb32921839 | [log] [tgz] |
---|---|---|
author | Benoit Jacob <jacob.benoit.1@gmail.com> | Fri Dec 21 09:30:32 2007 +0000 |
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | Fri Dec 21 09:30:32 2007 +0000 |
tree | 2c49c0122bd2a63c676f3a9b1d63fc0b200bfe69 | |
parent | ee3410f79a05ada2f508e1cb96bf4896ba369d6c [diff] [blame] |
now cmake takes snippets of code, completes them into compilable sources, builds them, executes them and stores their output in files.
diff --git a/doc/snippets/compile_snippet.cpp.in b/doc/snippets/compile_snippet.cpp.in new file mode 100644 index 0000000..552a5db --- /dev/null +++ b/doc/snippets/compile_snippet.cpp.in
@@ -0,0 +1,7 @@ +#include <Eigen/Core.h> +USING_EIGEN_DATA_TYPES +using namespace std; +int main(int, char**) +{ +${snippet_source_code} +}