From 7a7390337e04d0163b97c1da7bdaa198bacaff72 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 23 Aug 2006 03:22:03 +0000 Subject: Loads more stuff...it's nearly working now. --- src/main.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 97c2708..be95f07 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4,6 +4,7 @@ //#include "viewermake.h" #include "paramproc.h" #include "staticstring.h" +#include "build.h" class Param : public ParamProc { @@ -76,7 +77,7 @@ int main( int argc, char *argv[] ) //bld.setCache( prm.sCache ); //try //{ - bld.load( prm.sFile.c_str() ); + Build *pBuild = bld.load( prm.sFile.c_str() ); //} //catch( BuildException &e ) //{ @@ -90,6 +91,8 @@ int main( int argc, char *argv[] ) printf("\n\n----------\nDebug dump\n----------\n"); bld.debugDump(); } + printf("\n\n----------\nDebug dump\n----------\n"); + pBuild->debugDump(); //else { //if( prm.sAction > 0 ) -- cgit v1.2.3