aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-08-23 03:22:03 +0000
committerMike Buland <eichlan@xagasoft.com>2006-08-23 03:22:03 +0000
commit7a7390337e04d0163b97c1da7bdaa198bacaff72 (patch)
tree019eb3f455b0e8b35be9ae4560da319f377ea14e /src/main.cpp
parentf5cf5725026ecb2fa63d729fb6745b4da15e69d8 (diff)
downloadbuild-7a7390337e04d0163b97c1da7bdaa198bacaff72.tar.gz
build-7a7390337e04d0163b97c1da7bdaa198bacaff72.tar.bz2
build-7a7390337e04d0163b97c1da7bdaa198bacaff72.tar.xz
build-7a7390337e04d0163b97c1da7bdaa198bacaff72.zip
Loads more stuff...it's nearly working now.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp5
1 files changed, 4 insertions, 1 deletions
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 @@
4//#include "viewermake.h" 4//#include "viewermake.h"
5#include "paramproc.h" 5#include "paramproc.h"
6#include "staticstring.h" 6#include "staticstring.h"
7#include "build.h"
7 8
8class Param : public ParamProc 9class Param : public ParamProc
9{ 10{
@@ -76,7 +77,7 @@ int main( int argc, char *argv[] )
76 //bld.setCache( prm.sCache ); 77 //bld.setCache( prm.sCache );
77 //try 78 //try
78 //{ 79 //{
79 bld.load( prm.sFile.c_str() ); 80 Build *pBuild = bld.load( prm.sFile.c_str() );
80 //} 81 //}
81 //catch( BuildException &e ) 82 //catch( BuildException &e )
82 //{ 83 //{
@@ -90,6 +91,8 @@ int main( int argc, char *argv[] )
90 printf("\n\n----------\nDebug dump\n----------\n"); 91 printf("\n\n----------\nDebug dump\n----------\n");
91 bld.debugDump(); 92 bld.debugDump();
92 } 93 }
94 printf("\n\n----------\nDebug dump\n----------\n");
95 pBuild->debugDump();
93 //else 96 //else
94 { 97 {
95 //if( prm.sAction > 0 ) 98 //if( prm.sAction > 0 )