<div dir="ltr">Hello Stephen,<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 12, 2016 at 8:58 PM, Stephen Kelly <span dir="ltr"><<a href="mailto:steveire@gmail.com" target="_blank">steveire@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Rashad Kanavath wrote:<br>
<br>
> I am having this when I build packages for debian where I split components<br>
> into separate packages project1-core, project1-gui etc..<br>
<br>
</span>I think you need to patch the buildsystems of the software you are packaging<br>
so that they support that kind of split by exporting to a different export-<br>
set per split component.<br>
<br>
ie:<br>
<br>
install(TARGETS project1-core EXPORT CoreExports ...)<br>
install(TARGETS project1-gui EXPORT GuiExports ...)<br>
install(TARGETS project1-network EXPORT NetworkExports ...)<br></blockquote><div><br></div><div>Thanks for your reply. I will check with upstream if this is possible to have such a modification. <br><br>If there is some cmake way without modifying upstream I would prefer that.<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
and put conditional includes for the resulting files in the<br>
Project1Config.cmake file.<br>
<br>
Thanks,<br>
<br>
Steve.<br>
<br>
<br>
--<br>
<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" rel="noreferrer" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/cmake" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/cmake</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div><font face="arial, helvetica, sans-serif">Regards,<br>   Rashad</font></div></div>
</div></div></div>