summaryrefslogtreecommitdiffstats
path: root/Source/cmCreateTestSourceList.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-04-04 21:53:37 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-04-04 21:53:37 (GMT)
commite4dce08591ef28e03d3aba3492aff6f27388ec1d (patch)
tree60ba18eaa34ae4212d54c5985c5d1be0211f3a7d /Source/cmCreateTestSourceList.h
parent04d53a38659ca8baa893f3c6c8715c0d150eaddf (diff)
downloadCMake-e4dce08591ef28e03d3aba3492aff6f27388ec1d.zip
CMake-e4dce08591ef28e03d3aba3492aff6f27388ec1d.tar.gz
CMake-e4dce08591ef28e03d3aba3492aff6f27388ec1d.tar.bz2
ENH: add the ability to process command line arguments in the test driver before the test driver gets them
Diffstat (limited to 'Source/cmCreateTestSourceList.h')
-rw-r--r--Source/cmCreateTestSourceList.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/cmCreateTestSourceList.h b/Source/cmCreateTestSourceList.h
index 3d78b93..102226e 100644
--- a/Source/cmCreateTestSourceList.h
+++ b/Source/cmCreateTestSourceList.h
@@ -67,13 +67,16 @@ public:
virtual const char* GetFullDocumentation()
{
return
- "CREATE_TEST_SOURCELIST(SourceListName DriverName test1 test2 test3"
+ "CREATE_TEST_SOURCELIST(SourceListName DriverName test1 test2 test3 EXTRA_INCLUDE include.h FUNCTION function)"
"The list of source files needed to build the testdriver will be in SourceListName.\n"
"DriverName.cxx is the name of the test driver program.\n"
"The rest of the arguments consist of a list of test source files, can be "
"; separated. Each test source file should have a function in it that "
"is the same name as the file with no extension (foo.cxx should have int foo();) "
- "DriverName.cxx will be able to call each of the tests by name on the command line.";
+ "DriverName.cxx will be able to call each of the tests by name on the command line. "
+ "If EXTRA_INCLUDE is specified, then the next argument is included into the generated file. "
+ "If FUNCTION is specified, then the next argument is taken as a function name that is passed "
+ "a pointer to ac and av. This can be used to add extra command line processing to each test. ";
}
cmTypeMacro(cmCreateTestSourceList, cmCommand);