updated to mods in command
This commit is contained in:
parent
0f6e022dca
commit
9ca602e18e
@ -4,10 +4,10 @@ SET(Extra_SRCS testExtraStuff.cxx testExtraStuff2.cxx )
|
|||||||
SET(Extra_SRCS ${Extra_SRCS};testExtraStuff3.cxx )
|
SET(Extra_SRCS ${Extra_SRCS};testExtraStuff3.cxx )
|
||||||
INCLUDE_DIRECTORIES(${TestDriverTest_SOURCE_DIR})
|
INCLUDE_DIRECTORIES(${TestDriverTest_SOURCE_DIR})
|
||||||
CREATE_TEST_SOURCELIST(testSrcs
|
CREATE_TEST_SOURCELIST(testSrcs
|
||||||
TestDriverTest
|
TestDriverTest.cxx
|
||||||
test1
|
test1.cxx
|
||||||
test2
|
test2.cxx
|
||||||
subdir/test3
|
subdir/test3.cxx
|
||||||
EXTRA_INCLUDE testArgs.h FUNCTION testProccessArgs)
|
EXTRA_INCLUDE testArgs.h FUNCTION testProccessArgs)
|
||||||
|
|
||||||
ADD_EXECUTABLE(TestDriverTest ${testSrcs} ${Extra_SRCS})
|
ADD_EXECUTABLE(TestDriverTest ${testSrcs} ${Extra_SRCS})
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
int subdir_test3(int ac, char** av)
|
int subdir_test3(int ac, char*av[])
|
||||||
{
|
{
|
||||||
printf("test3\n");
|
printf("test3\n");
|
||||||
for(int i =0; i < ac; i++)
|
for(int i =0; i < ac; i++)
|
||||||
|
@ -3,7 +3,7 @@ int testExtraStuff3();
|
|||||||
int testExtraStuff();
|
int testExtraStuff();
|
||||||
int testExtraStuff2();
|
int testExtraStuff2();
|
||||||
|
|
||||||
int test1(int ac, char** av)
|
int test1(int ac, char* av[])
|
||||||
{
|
{
|
||||||
if(!testExtraStuff2())
|
if(!testExtraStuff2())
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
int test2(int ac, char** av)
|
int test2(int ac, char*av[])
|
||||||
{
|
{
|
||||||
printf("test2\n");
|
printf("test2\n");
|
||||||
for(int i =0; i < ac; i++)
|
for(int i =0; i < ac; i++)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user