mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 15:19:51 -05:00
ENH: make test driver more flexible by using a configured file instead of generating all the code. fixes bug 28
This commit is contained in:
@@ -84,7 +84,11 @@ public:
|
||||
"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. ";
|
||||
"command line processing to each test. The cmake variable "
|
||||
"CMAKE_TESTDRIVER_BEFORE_TESTMAIN can be set to have code that will be "
|
||||
"placed directly before calling the test main function. "
|
||||
"CMAKE_TESTDRIVER_AFTER_TESTMAIN can be set to have code that will be "
|
||||
"placed directly after the call to the test main function.";
|
||||
}
|
||||
|
||||
cmTypeMacro(cmCreateTestSourceList, cmCommand);
|
||||
|
||||
Reference in New Issue
Block a user