Major work in progress on build system module instantiation.

This commit is contained in:
Laurence Withers 2006-07-24 21:55:12 +01:00
commit 11f2baa34b
53 changed files with 512 additions and 113 deletions

View file

@ -1,19 +1,19 @@
/* @P@/src/tests/???.cpp
/* @P@/src/@NAME@/???.c
*
* (c)2006, Laurence Withers. Released under the GNU GPL. See file
* COPYING for more information / terms of license.
*/
#include "@HEADER_NAME@"
@TODO@ includes
#include <iostream>
#include "stdio.h"
int main(int argc, char* argv[])
{
if(argc == 2 && !strcmp(argv[1], "--print-summary")) {
std::cout << "One line summary.\n";
printf("One line summary.\n");
return 0;
}
@ -22,21 +22,12 @@ int main(int argc, char* argv[])
}
int ret = 0;
try {
// TODO
}
catch(std::exception& e) {
std::cerr << e.what() << std::endl;
ret = 1;
}
catch(...) {
std::cerr << "Unknown exception caught." << std::endl;
ret = 1;
}
// TODO
return ret;
}
/* options for text editors
kate: replace-trailing-space-save true; space-indent true; tab-width 4;
vim: expandtab:ts=4:sw=4
*/