Files Classes Functions Hierarchy
00001 #include <cfcontainervec.h> 00002 #include <cfcontainerhash.h> 00003 #include <commandline.h> 00004 #include <createmakefile.h> 00005 #include <createmakefiletest.h> 00006 00007 string createmakefiletest::doc[] = 00008 { 00009 "", 00010 "$ ../makefilebuildtool/main prog=51 <driver=main> Include paths calculated.", 00011 "$ ../makefilebuildtool/main prog=52 <driver=main> <makefile=Makefile> <libraries=libraries> Build a makefile.", 00012 "$ ../makefilebuildtool/main prog=53 <driver=main> <makefile=Makefile> <libraries=libraries> Build a makefile - uses hash data structure." 00013 }; 00014 00015 void createmakefiletest::test01(int argc, char** argv) 00016 { 00017 //createmakefile<cfcontainervec> cm(argc,argv); 00018 createmakefile<cfcontainerhash> cm(argc,argv); 00019 00020 cm.ms.print(); 00021 00022 cout << "paths:" << cm.pathsstring() << endl; 00023 } 00024 00025 00026 void createmakefiletest::test02(int argc, char** argv) 00027 { 00028 createmakefile<cfcontainervec> cm(argc,argv); 00029 cm.eval(); 00030 00031 cm.ms.printafterbuild(); 00032 } 00033 00034 void createmakefiletest::test03(int argc, char** argv) 00035 { 00036 createmakefile<cfcontainerhash> cm(argc,argv); 00037 cm.eval(); 00038 00039 cm.ms.printafterbuild(); 00040 } 00041 00042 00043
1.5.8