From d51e9cf180fa057e9fde7a203564da0ba1ac6fab Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 30 Jan 2008 13:02:32 -0500 Subject: ENH: add missing files --- Tests/SubProject/foo/CMakeLists.txt | 3 +++ Tests/SubProject/foo/foo.cxx | 15 +++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 Tests/SubProject/foo/CMakeLists.txt create mode 100644 Tests/SubProject/foo/foo.cxx diff --git a/Tests/SubProject/foo/CMakeLists.txt b/Tests/SubProject/foo/CMakeLists.txt new file mode 100644 index 0000000..011178b --- /dev/null +++ b/Tests/SubProject/foo/CMakeLists.txt @@ -0,0 +1,3 @@ +project(foo) +add_executable(foo foo.cxx) +target_link_libraries(foo bar) diff --git a/Tests/SubProject/foo/foo.cxx b/Tests/SubProject/foo/foo.cxx new file mode 100644 index 0000000..68fa363 --- /dev/null +++ b/Tests/SubProject/foo/foo.cxx @@ -0,0 +1,15 @@ +int bar(); +#include + +int main(int ac, char** av) +{ + (void)ac; + (void)av; + int ret = bar(); + printf("bar = %d\n", ret); + if(ret == 10) + { + return 0; + } + return -1; +} -- cgit v0.12