Stephen Kelly 914382224d target_link_libraries: Add LINK_(PUBLIC|PRIVATE) options
Makes it possible to specify the link dependencies and link
interfaces in one command without repetition.
2011-11-22 16:52:35 -05:00

13 lines
143 B
C++

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