Imported Upstream version 2.8.11.2
[platform/upstream/cmake.git] / Tests / CMakeCommands / target_link_libraries / targetA.cpp
1
2 #include "depB.h"
3 #include "depC.h"
4 #include "depIfaceOnly.h"
5
6 #include "subdirlib.h"
7
8 int main(int, char **)
9 {
10   DepA a;
11   DepB b;
12   DepC c;
13
14   DepIfaceOnly iface_only;
15
16   SubDirLibObject sd;
17
18   return a.foo() + b.foo() + c.foo() + iface_only.foo() + sd.foo();
19 }