Getting ecm files from the ECM package

Kevin Ottens ervin at kde.org
Fri Nov 1 10:57:35 UTC 2013


Hello,

On Friday 01 November 2013 11:23:14 Mirko Boehm wrote:
> On 11/01/2013 10:46 AM, Alexander Neundorf wrote:
> > [1] Why not merge that into CMake ? For quicker releases, and even easier
> > contributing. Also Bill once said that in hindsight he would have prefered
> > if cmake would not ship any find-modules itself at all. So one could
> > imagine that cmake would come without any find-modules in the future, and
> > all find-modules would come from a separate package, e.g. ECM.
> > This would make cmake the core tool, and ECM its "standard library"
> 
> I agree that a separation of CMake and the find_modules make sense. But.

My position indeed. I would agree at a "tier 0" if it didn't make it miserable 
for third parties wanting to use a tier 1 library in the sense of "oh by the 
way you also need that, and that, and that thing no one else use".

> Then it is time to think of a way to integrate cmake with the separate
> source of find_modules. Algorithmically, it would look like
> 
> PROJECT(MyApplication)
> FIND_MODULES_REPOSITORY("http://ecm.kde.org")
> FIND_PACKAGES(KF5 REQUIRED...)
> 
> and so forth. That would be a real breakthrough. It is related to the
> approach taken by Maven and others. All it takes is a built-in way for
> CMake to download the find_modules into a cache location and update them
> when needed, or on request.

Yes, that's definitely something we've been missing for a long time compared 
to the java crowd who massively use Maven. It is an *excellent* feature, and 
would solve this kind of headaches we have with the build system.

> This would also make a lot of things a lot easier. For example, nobody would
> need to separately install ECM, and updates to our ECM packages can be
> delivered globally by commits to that repo.

Yep!

Regards.
-- 
Kévin Ottens, http://ervin.ipsquad.net

KDAB - proud supporter of KDE, http://www.kdab.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20131101/b521238f/attachment.sig>


More information about the Kde-frameworks-devel mailing list