Permalink
Browse files

+ boost::tuple

  • Loading branch information...
1 parent 4fbdf21 commit 03d8f740cc5a77ce7b220f1fdbf194db027557e4 @stpettersens committed May 13, 2012
Showing with 3 additions and 2 deletions.
  1. +2 −1 NativeGaudiBuilder.cpp
  2. +1 −1 build.json
View
3 NativeGaudiBuilder.cpp
@@ -11,6 +11,7 @@ For dependencies, please see LICENSE file.
#include <iostream>
#include <cstring>
#include <string>
+#include "boost/tuple/tuple.hpp"
#include "NativeGaudiBase.h"
using namespace std;
@@ -20,7 +21,7 @@ class NativeGaudiBuilder : protected NativeGaudiBase {
void substituteVars(string[]);
string handleWildcards(string);
- string extractCommand(string); // Change return type to tuple.
+ boost::tuple<string, string> extractCommand(string);
void printError(string);
void printCommand(string, string);
void execExtern(string);
View
2 build.json
@@ -9,7 +9,7 @@
"build": [
{ "echo": "Compiling NativeGaudi..." },
- { "exec": "g++ NativeGaudiBase.cpp NativeGaudiApp.cpp NativeGaudiBuilder.cpp -o NativeGaudi" },
+ { "exec": "g++ NativeGaudiBase.cpp NativeGaudiApp.cpp NativeGaudiBuilder.cpp -o NativeGaudi -IC:/Dev/Boost" },
{ "echo": "Strip executable..." },
{ "xstrip": "NativeGaudi" }
],

0 comments on commit 03d8f74

Please sign in to comment.