aboutsummaryrefslogtreecommitdiff
path: root/src/action.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-09-21 15:47:56 +0000
committerMike Buland <eichlan@xagasoft.com>2006-09-21 15:47:56 +0000
commit6aedf75408f0a8fa50edf9457b00f413227ec2d8 (patch)
treedb854cfdbc965d73d72a451ec36b55f3d09cbfd7 /src/action.h
parentd5b78aeaa9af689b52046eb5577624fb6d031835 (diff)
downloadbuild-6aedf75408f0a8fa50edf9457b00f413227ec2d8.tar.gz
build-6aedf75408f0a8fa50edf9457b00f413227ec2d8.tar.bz2
build-6aedf75408f0a8fa50edf9457b00f413227ec2d8.tar.xz
build-6aedf75408f0a8fa50edf9457b00f413227ec2d8.zip
Added two command line parameters, -i or --info will list available actions,
maybe more later. -c or --clean will set all of the commands in the current action to clean, so now you don't have to create clean rules. Also, every viewer should now support stacks of targets, they don't now, and it can look a little funny.
Diffstat (limited to 'src/action.h')
-rw-r--r--src/action.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/action.h b/src/action.h
index 0e08192..25badad 100644
--- a/src/action.h
+++ b/src/action.h
@@ -50,6 +50,8 @@ public:
50 { 50 {
51 return sName; 51 return sName;
52 } 52 }
53
54 void setMode( eAction nAct );
53 55
54private: 56private:
55 typedef std::list<Cmd> CmdList; 57 typedef std::list<Cmd> CmdList;