cppannotations/icmake/run
fbbrokken 6881bc3814 The trunk directory contains the latest version (6.4.0c) of the C++
Annotations. 

The branches and tags directory are empty, since I couldn't
svnadmin import a repostitory dump. Many earlier versions exist, though, and
if you want the full archive, just let me know and I'll send you the svnadmin
dump of my full C++ Annotations archive.

Frank B. Brokken <f.b.brokken@rug.nl>



git-svn-id: https://cppannotations.svn.sourceforge.net/svnroot/cppannotations/trunk@3 f6dd340e-d3f9-0310-b409-bdd246841980
2006-09-04 08:26:34 +00:00

26 lines
374 B
Text

void runP(int testValue, string cmd)
{
system(testValue, cmd);
}
void run(string cmd)
{
runP(0, cmd);
}
void md(string target)
{
int idx;
list paths;
string file;
paths = strtok(target, " ");
for (idx = sizeof(paths); idx--; )
{
file = element(idx, paths);
if (!exists(file))
run("mkdir -p " + file);
}
}