Also test commands with args separated by ';'pull/5989/head
parent
f73a1dff0e
commit
8efbcb1e80
3 changed files with 32 additions and 0 deletions
@ -0,0 +1,17 @@ |
||||
#include <iostream> |
||||
#include <fstream> |
||||
|
||||
using namespace std; |
||||
|
||||
int main(int argc, const char *argv[]) { |
||||
if(argc != 3 || string(argv[1]) != "arg1" || string(argv[2]) != "arg2") { |
||||
cerr << argv[0] << " requires 2 args" << endl; |
||||
return 1; |
||||
} |
||||
|
||||
ofstream out1("cmModLib.hpp"); |
||||
out1 << "#define FOO = \"plop\""; |
||||
|
||||
|
||||
return 0; |
||||
} |
Loading…
Reference in new issue