CMake/Tests/CMakeCommands/target_link_libraries/targetA.cpp

16 lines
216 B
C++

#include "depB.h"
#include "depC.h"
#include "depIfaceOnly.h"
int main(int argc, char **argv)
{
DepA a;
DepB b;
DepC c;
DepIfaceOnly iface_only;
return a.foo() + b.foo() + c.foo() + iface_only.foo();
}