aboutsummaryrefslogtreecommitdiff
path: root/src/performcommand.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-09-12 00:22:33 +0000
committerMike Buland <eichlan@xagasoft.com>2006-09-12 00:22:33 +0000
commitd19ada0aa88aba1c7b439035c0028440ac860ec3 (patch)
treefb8cde98650aa66fcdb736b045f541eac1b8b93a /src/performcommand.cpp
parent97d529fac68105f0d3d34c699a4ac10489c705e8 (diff)
downloadbuild-d19ada0aa88aba1c7b439035c0028440ac860ec3.tar.gz
build-d19ada0aa88aba1c7b439035c0028440ac860ec3.tar.bz2
build-d19ada0aa88aba1c7b439035c0028440ac860ec3.tar.xz
build-d19ada0aa88aba1c7b439035c0028440ac860ec3.zip
Build now builds, it has viewers, and dependancy checking, and everything works.
Now we have to add cleaning, caching, and more viewer hooks / viewers.
Diffstat (limited to '')
-rw-r--r--src/performcommand.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/performcommand.cpp b/src/performcommand.cpp
index 6963022..f6da4ac 100644
--- a/src/performcommand.cpp
+++ b/src/performcommand.cpp
@@ -11,10 +11,15 @@ PerformCommand::~PerformCommand()
11{ 11{
12} 12}
13 13
14Perform *PerformCommand::duplicate( Build &bld, const std::string &cont ) 14Perform *PerformCommand::duplicate( Build &bld, const std::string &cont, VarMap *mExtra )
15{ 15{
16 Perform *pRet = new PerformCommand(); 16 Perform *pRet = new PerformCommand();
17 pRet->copyData( this, bld, cont, NULL ); 17 pRet->copyData( this, bld, cont, mExtra );
18 return pRet; 18 return pRet;
19} 19}
20 20
21void PerformCommand::execute( Build &bld )
22{
23 system( lParam.front().c_str() );
24}
25