summaryrefslogtreecommitdiffstats
path: root/Tests/TestDriver
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 /Tests/TestDriver
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 'Tests/TestDriver')
-rw-r--r--Tests/TestDriver/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/Tests/TestDriver/CMakeLists.txt b/Tests/TestDriver/CMakeLists.txt
index a7f6332..2e0a1fa 100644
--- a/Tests/TestDriver/CMakeLists.txt
+++ b/Tests/TestDriver/CMakeLists.txt
@@ -2,12 +2,13 @@ PROJECT(TestDriverTest)
SET(Extra_SRCS testExtraStuff.cxx testExtraStuff2.cxx )
SET(Extra_SRCS ${Extra_SRCS};testExtraStuff3.cxx )
-
+INCLUDE_DIRECTORIES(${TestDriverTest_SOURCE_DIR})
CREATE_TEST_SOURCELIST(testSrcs
TestDriverTest
test1
test2
- subdir/test3)
+ subdir/test3
+ EXTRA_INCLUDE testArgs.h FUNCTION testProccessArgs)
ADD_EXECUTABLE(TestDriverTest testSrcs ${Extra_SRCS})