summaryrefslogtreecommitdiffstats
path: root/Tests/BundleTest/BundleTest.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-03-28 18:23:10 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-03-28 18:23:10 (GMT)
commit09b4b2d62ccd962d18ea56f493b12ad338cdb209 (patch)
tree8a71546c42b897cab21e9528e70798985bfccb8f /Tests/BundleTest/BundleTest.cxx
parented5f95cf230c5ccd4376ff6dcc8e57330611f256 (diff)
downloadCMake-09b4b2d62ccd962d18ea56f493b12ad338cdb209.zip
CMake-09b4b2d62ccd962d18ea56f493b12ad338cdb209.tar.gz
CMake-09b4b2d62ccd962d18ea56f493b12ad338cdb209.tar.bz2
ENH: Check if files exist
Diffstat (limited to 'Tests/BundleTest/BundleTest.cxx')
-rw-r--r--Tests/BundleTest/BundleTest.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/Tests/BundleTest/BundleTest.cxx b/Tests/BundleTest/BundleTest.cxx
index c879be1..1e508ac 100644
--- a/Tests/BundleTest/BundleTest.cxx
+++ b/Tests/BundleTest/BundleTest.cxx
@@ -1,6 +1,9 @@
-extern int foo();
+#include <stdio.h>
-int main()
+extern int foo(char* exec);
+
+int main(int argc, char* argv[])
{
- return foo();
+ printf("Started with: %d arguments\n", argc);
+ return foo(argv[0]);
}