Browse Source

ENH: add missing files

Bill Hoffman 18 years ago
parent
commit
d51e9cf180
2 changed files with 18 additions and 0 deletions
  1. 3 0
      Tests/SubProject/foo/CMakeLists.txt
  2. 15 0
      Tests/SubProject/foo/foo.cxx

+ 3 - 0
Tests/SubProject/foo/CMakeLists.txt

@@ -0,0 +1,3 @@
+project(foo)
+add_executable(foo foo.cxx)
+target_link_libraries(foo bar)

+ 15 - 0
Tests/SubProject/foo/foo.cxx

@@ -0,0 +1,15 @@
+int bar();
+#include <stdio.h>
+
+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;
+}