6e7e881c57
Callers of cmTarget::GetLinkImplementationClosure are interested in the set of targets whose interface properties propagate to the current target. This excludes targets guarded by $<LINK_ONLY>. Teach the CompatibleInterface test to cover suppression of interface compatibility tests with $<LINK_ONLY>. Although this is not recommended in practice, it is a way of covering the above behavior.
8 lines
69 B
C++
8 lines
69 B
C++
#ifdef _WIN32
|
|
__declspec(dllexport)
|
|
#endif
|
|
int bar()
|
|
{
|
|
return 0;
|
|
}
|