Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:116740 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 50445 invoked from network); 29 Dec 2021 16:47:31 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 29 Dec 2021 16:47:31 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 4F6711804DF for ; Wed, 29 Dec 2021 09:53:13 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS8560 212.227.0.0/16 X-Spam-Virus: No X-Envelope-From: Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 29 Dec 2021 09:53:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1640800390; bh=imeKk5g6PwY5zgouxZ7CRW/37NPo94Hl71mwMFJ5dJA=; h=X-UI-Sender-Class:Date:Subject:To:References:From:In-Reply-To; b=fjbBPYgNrndKGsr9zjG2dD6aqxna8CaLWH+bJFJA+vunFSdLRyIxdL2hOl/8FviXv opqW1E+fB/rTqlTYodFmIeFwpsODJgS0HxlKrg9UXp6nu666VN9o6rcqbEXHL4yVG2 O3VkInuqVB20huiKdbOwFCNLPUWpFEYT3mga+8yM= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.2.130] ([84.179.226.232]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MCsQ4-1nBOZq1k1o-008vbT; Wed, 29 Dec 2021 18:53:10 +0100 Message-ID: <88ea27ee-44ab-1a9f-6b04-e38f02af5729@gmx.de> Date: Wed, 29 Dec 2021 18:53:09 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 Content-Language: de-DE To: =?UTF-8?B?SG9ydsOhdGggVi4=?= , PHP internals References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:jmQPkSD5SrsJOKxRLe7glejesj6pgorVzh7N/rZU7HenwTHbFHT CNGts7B7iwijTti9RW40cfUY8eVsO1+HeClN13etrnlCthcFlMsAlbsKqN588jlWvkTkH5a ZD1zP/4JD66cQZ3uX23OiDeu4s7ffKwGIGaxdbABD0tmYJsMhMsdVMmq4x6WlbiEFITymPc VZi8Su93G4GZKsExJMGqg== X-UI-Out-Filterresults: notjunk:1;V03:K0:VHkdvoGAe8o=:vgt+FY/h0wo1qxRKppb0ys u5RjCsFvzr/DJg/J5FyL0tDs/1ykZkYSfRHIErHV4wtGp9/jz8xx9eRSziYvK7pQJhdvOEP0M GSZHaBFwGXGHo99K15q6YwNoecu/3b/fAtiz0n9KNWd8KOqCzKzc/Bu/r0aRfsTbqUFcL9jGC vh7TASvedEGHvcikGIC//Gig7zhdePYH3N+8ijoVYp3czb8+TQTgSLt5R5nsqPcBFu8Bn5+fX 9Ai+Y7jkVzgFMjp1jzURbT1UfDayDq9nUwab4fB6ryiKhedrpbB9Kg9e/8/rq6ErZRi1s0uIC UC9AhHjR5TLvFVXdq2Q1TLyUsGHhe9ZrRUjhUlBfW3KkTR+ivWaC0s5CEKZ9u9SYtj2X8Vy5c 0UL8k0v7Ao9KtQ91RE9Ir6o7qBoabYZHfLFRV0ffYjdi7jUe1tnHnbYXPiColegqTWWad2cNg W/1i7S+el/lXGICMvK/NOSH6t//EVHwVEeXSf+YmZFCPtX1kUPfYP1pQif9knA+tX34mHkfal bEwyGeS1ow0AsteuSy4feMiNrkpr//R0P5SF3eBu6JBZKCrS2HL/BN8YuEWPAsi8+A1si+ztO QJod5ZqAMSe/GKFnjnbazlEpLvSxtICh1cb8EYdCM+zfgHYweOWPL9XWNS3C3aapozQaibHsJ NXPNGtKxG1kFwtHI2xMAYyNpYlP9TbiZEusspsY6T2LSoAyOl05JsTkjk83c2cZSoqlAdCeK/ PfRXddITYMMwwtlNBGrceC1NY5GosN9PegC/jX7HtxNrQX9kghcuWBrmD6sopmh6U6k1MK1vu Vx0iZQVCp3ZmjBCvJnTDROFzo/OnabqHSmqibNNN8hJJ3LgPqZgvE7NoLSq6wi7Bacit8ww8n e/59FHgwyCUZJZ3ZtWHckMMvQZfQ7jS4Ef1+AL7T1Htrqt6BRNsVUnAGdnrUWMEN5qS/mekrr 8Je3vnhoddkXegNzgcMPc3ymewY7pDnYClLqEKtVxOQEocIX6ZtZyskAkHl2pwnTtBKYrefQR R1rcYFQY6RMNyo1DOCXwRK6uvjWGG1nqflo+jS2w5ygtVD4FTp3rO37+mVa1jlOHNm0SnICX6 5kjKccxMrE8ayA= Subject: Re: [PHP-DEV] Surveying interest regarding CMake From: cmbecker69@gmx.de ("Christoph M. Becker") On 29.12.2021 at 18:41, Horv=C3=A1th V. wrote: > On 2021. 12. 29. 14:02, Christoph M. Becker wrote: > >> This is why I suggested to postpone Windows support for now. > > This would have to be done either way and I prefer to work from the host > OS on my computer, especially since the Windows side of things is what's > messy right now and I don't like things being unnecessarily messy for no > good reason. > > Once I have things packaged via Conan as well, I will have a better idea > of how to adapt the existing ways of people consuming dependencies. Here > I'm thinking about the name of libraries that should be used in CMake if > there is no proper CMake package found. > > As an example, the Conan package of WinEditLine provides an edit.lib > file when built as a static library, which follows the idiomatic way of > naming this file on Windows, however the php-sdk provided binary is > called edit_a.lib, which tries to mimic the UNIX way of naming things. > In the above case I would have to first do a find_package(wineditline > NO_MODULE) to try finding the Conan generated config files and after > that I would need to use the other find_*() commands with all known > names in use as search parameters, then decide whether it's actually a > static or a shared library. Things get painful once you don't have the > convenience of CMake configs encoding crucial details about your > dependencies. Ah, right! The naming scheme of libraries used to build PHP and PECL packages is uncommon, but in use for a long time, and it's even documented[1]. I'm not sure if we can change it for a minor PHP version. And simply renaming the libraries won't work, since that breaks the "link" to the .pdb files. Not sure how to solve this. :( [1] Christoph