diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-03-28 18:23:10 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-03-28 18:23:10 (GMT) |
commit | 09b4b2d62ccd962d18ea56f493b12ad338cdb209 (patch) | |
tree | 8a71546c42b897cab21e9528e70798985bfccb8f /Tests/BundleTest/BundleTest.cxx | |
parent | ed5f95cf230c5ccd4376ff6dcc8e57330611f256 (diff) | |
download | CMake-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.cxx | 9 |
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]); } |