projects
/
profile
/
ivi
/
cmake.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
TZIVI-254: IVI needs a newer version of cmake
[profile/ivi/cmake.git]
/
Tests
/
TestDriver
/
testArgs.h
1
void testProccessArgs(int* ac, char***av)
2
{
3
char** argv = *av;
4
if(*ac < 2)
5
{
6
return;
7
}
8
if(strcmp(argv[1], "--with-threads") == 0)
9
{
10
printf("number of threads is %s\n", argv[2]);
11
*av +=2;
12
*ac -=2;
13
}
14
else if (strcmp(argv[1], "--without-threads") == 0)
15
{
16
printf("no threads\n");
17
*av += 1;
18
*ac -= 1;
19
}
20
}