summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeCommands/target_link_libraries/targetA.cpp
blob: 1caa516ad42daf61a23e6f390a4569b6f4f86dad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

#include "depB.h"
#include "depC.h"
#include "depIfaceOnly.h"

#include "subdirlib.h"

int main(int, char**)
{
  DepA a;
  DepB b;
  DepC c;

  DepIfaceOnly iface_only;

  SubDirLibObject sd;

  return a.foo() + b.foo() + c.foo() + iface_only.foo() + sd.foo();
}