<html><head><style data-externalstyle="true"><!--
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst, p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle, p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
line-height:115%;
}
--></style></head><body><div data-externalstyle="false" dir="ltr" style="font-family:Calibri,'Segoe UI',Meiryo,'Microsoft YaHei UI','Microsoft JhengHei UI','Malgun Gothic','Khmer UI','Nirmala UI',Tunga,'Lao UI',Ebrima,sans-serif;font-size:12pt;"><div><font face="Calibri" style="font-size: 12pt;">> ...</font><font face="Calibri" style="font-size: 12pt;"> I'm forced to use </font><span style="font-family: arial,sans-serif; font-size: 12.72px;"><font face="Calibri" style="font-size: 12pt;">include_external_msproject()</font></span></div><div dir="ltr"><font face="Calibri" style="font-size: 12pt;">
</font><div><span style="font-family: arial,sans-serif; font-size: 12.72px;"><font face="Calibri" style="font-size: 12pt;">> </font><font face="Calibri" style="font-size: 12pt;">which destroys all the benefits of dependency tracking added to target_link_libraries() in 2.8.11.</font></span></div><span style="font-family: arial,sans-serif; font-size: 12.72px;"></span></div><span style="font-family: arial,sans-serif; font-size: 12.72px;"></span><span style="font-family: arial,sans-serif; font-size: 12.72px;"><div dir="ltr"><br><font face="Calibri" style="font-size: 12pt;">
</font></div></span><div dir="ltr"><font face="Calibri" style="font-size: 12pt;">You could perhaps use ExternalProject instead. Although dependency tracking at the source/header file level definitely does not work through that.</font></div><div dir="ltr"> </div><div dir="ltr"><font face="Calibri" style="font-size: 12pt;">Are you constantly updating and building these things from source? Seems like the sort of thing where you’d be snapped to a given known-to-work version of each component for a while. If you have a relatively static snapshot, then just build these components separately from your main project, and then reference them as *.lib files... (Just a suggestion. Probably silly, I know, there must be some reason why you need to build from source frequently, or you wouldn</font><font face="Calibri" style="font-size: 12pt;">’t do it all the time...)</font></div><div dir="ltr"> </div><div dir="ltr"> </div><div dir="ltr"> </div><div dir="ltr"><span style="font-family: arial,sans-serif; font-size: 12.72px;"><font face="Calibri" style="font-size: 12pt;">> </font><font face="Calibri" style="font-size: 12pt;">I got no response so far, so I don't know if fixing the issue is a work in progress, if it's not,</font></span></div><div dir="ltr"><span style="font-family: arial,sans-serif; font-size: 12.72px;"><font face="Calibri" style="font-size: 12pt;">> </font><font face="Calibri" style="font-size: 12pt;">if there is a fundamental issue, or if I'm doing it wrong.</font></span></div><div dir="ltr"><span style="font-family: arial,sans-serif; font-size: 12.72px;"></span> </div><div dir="ltr"><font face="Calibri" style="font-size: 12pt;">
Probably none of the above... If nobody has responded, then it is very likely nobody is working on it. The fundamental issue is that the feature is not cross-platform, and therefore, *most* CMake users never use it since they are mostly building cross-platform projects. So it is simply little used, and not well understood by most.</font></div><div dir="ltr"> </div><div dir="ltr">If you can contribute to help fix the problems that you see, I’m sure the folks on the CMake developers list would be most receptive to such help.</div><div dir="ltr"> </div><div dir="ltr"> </div><div dir="ltr">HTH,</div><div dir="ltr">David C.</div><div dir="ltr"><font face="Calibri" style="font-size: 12pt;"></font> </div></div></body></html>