Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:116655 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 1510 invoked from network); 16 Dec 2021 16:51:14 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 16 Dec 2021 16:51:14 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 8122E1804AA for ; Thu, 16 Dec 2021 09:53:44 -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=3.0 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_HOTMAIL_RCVD2, FORGED_MUA_MOZILLA,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS8075 40.80.0.0/12 X-Spam-Virus: No X-Envelope-From: Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05olkn2068.outbound.protection.outlook.com [40.92.90.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 16 Dec 2021 09:53:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YUG/RO1g31zzFnkrQQmjLDRwCraK2c+ZiR0u4u6Z86Y5IXp8YgkZGcnCsT8WzRQB2uwhFtOqa63uuGzEDgUBgxEDmKl15Z5NIFIeaXmB8sJQwiZ7nxifSOvjoIMjA9XD9J41HS7I5o7dkp5wxB7NIp5cBkaNrJrUM33yvgF5gu9F9oXczRGhYMC7I0LVoL8bpXRpcp/h+w6M57CGDXilljv1cdScy3i1+R9IXmrncgguWFLppaGNvc7SD7hZRFRlZE1l022KL3L2Lp2X8P33hxFiy+QoXKS70Iw3BVUSaEXt7+8TChlp0fNYAiS9aYkvUgNEJbJeA/LPykJ/19205A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=aJCChIiZp81sDYAMGkQ1XRAqqF4o/bMttHEOFG2iqIE=; b=nzg/jk43SiijJ981oe7mqVc/AoHzmgZ3QWL6p70Y/lufjXk77Be20EzBV8SLwqbQ3M8rj3cj46vNccm+8frOlBCwCEam4t8o3cXFFp5fMItWPbOjqbLS9WyqpWwOg8u3nKHM4v1QtPTfH2KbwZNCTqUEihy/TOqQyTVku1Eqr0xSHczrNRw9LzEV+6RVpMe1ZdYk84NKSEaVpc8ykKT2DqXYoFvqbM/G+7lgjUI6RCb7cFqzj/ej8Zah1JBSrJYkleYo2ZLIwpL04FreYNaRg7kXmeD1uBWBOgGmaioFqx6oL85O6xLwdgOVyl+jk5HNB8b2jFEgK94BMgQ44Nj8KA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aJCChIiZp81sDYAMGkQ1XRAqqF4o/bMttHEOFG2iqIE=; b=TPn5w+SQh66NgFrGYDobe8teuAJzH0fgjaH9PQybxWMAb4NV3dXR1/BZrZnov9Cqe7uuolC9O4l8lFPg7mHszhosp2JnkUYQFMR23BGnI7AoEcFdkNHnWim/sIr93ZhTrpZGY9H4QG59iaypOnStqKeFCVBhG3PjVXjIS0p1KrTLkisIOmHBMFWgESq234MJysAB/aiGrnWcwslq7/4VPrezWLhqetMHrkN/jxqrbCAXH/fNdh8tLd8C8hcnx8HARvIrPScMxzpvv7DQxXP3G3dx4XvquVAJJHWowugYLqsbxZw+zZxtXNsgzfad72czX0NG8niAoMXf2yJxJ0lhVA== Received: from AM6PR0302MB3398.eurprd03.prod.outlook.com (2603:10a6:209:18::13) by AM6PR03MB5170.eurprd03.prod.outlook.com (2603:10a6:20b:ca::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4778.16; Thu, 16 Dec 2021 17:53:33 +0000 Received: from AM6PR0302MB3398.eurprd03.prod.outlook.com ([fe80::d69:a36b:c3cf:630c]) by AM6PR0302MB3398.eurprd03.prod.outlook.com ([fe80::d69:a36b:c3cf:630c%7]) with mapi id 15.20.4778.018; Thu, 16 Dec 2021 17:53:33 +0000 Message-ID: Date: Thu, 16 Dec 2021 18:52:08 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Content-Language: en-US To: PHP internals Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-TMN: [LRyP/HELS65b5jeCzfZYqnroLB2hflgZ] X-ClientProxiedBy: VI1PR09CA0072.eurprd09.prod.outlook.com (2603:10a6:802:29::16) To AM6PR0302MB3398.eurprd03.prod.outlook.com (2603:10a6:209:18::13) X-Microsoft-Original-Message-ID: <392be887-e491-e2cf-ff9b-7b39b6b5fd8c@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c857fd33-9c6f-4c35-bd9f-08d9c0bcf9f7 X-MS-TrafficTypeDiagnostic: AM6PR03MB5170:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5VDdRlFz6l8ayCoyesSRJEZLkk3BK4pGntwPb+ZPw4j0PpiJ5SWpM/XL40KbRMWyTSMk/w8dpTfVO1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8?B?WS93cXdXTk5XV2tobWlEQ2x5eFArcndsbFdPY3F2UERnV0Zqdz09?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-76d7b.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: c857fd33-9c6f-4c35-bd9f-08d9c0bcf9f7 X-MS-Exchange-CrossTenant-AuthSource: AM6PR0302MB3398.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Dec 2021 17:53:33.2126 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR03MB5170 Subject: Surveying interest regarding CMake From: friendlyanon_@hotmail.com (=?UTF-8?B?SG9ydsOhdGggVi4=?=) Hello internals, I'm writing to you to find out what the reception here is regarding the idea of moving the PHP project to build using CMake. I have looked around and I found 2 attempts of doing just that in the past (in 2008 via GSoC and something else maybe in 2014 that I couldn't find the exact info for before writing this email), but nothing came of those attempts. I have also briefly suggested the idea to Sara Golemon on Reddit and she didn't seem to be completely against the idea. For my attempt, I would also optionally use Conan as a means of fetching dependencies in a cross-platform manner, which would make the need for OS specific SDKs (like the Windows one) unnecessary. Thanks to CMake's amazing customizability, using Conan can be made completely optional and PHP could still continue to build with just system dependencies. Moving the build system to use CMake instead of the current split between a *nix and Windows solution would bring everything to one place and providing CMake bits in the install interface of PHP would make it easier to develop and use PHP from a development point of view thanks to CMake packages. I am planning to make a YouTube video of the whole process of me doing this grunt work, while I explore the current situation regarding building PHP and explain what I do and why. I think that it'd generally be a good thing to have such a video for transparency and it could be interesting educational material for people who are in a similar situation and wish to move to building their projects using CMake. For reference, I occasionally contribute to the CMake project, I'm the author of https://github.com/friendlyanon/cmake-init which aims to simplify quickly scaffolding a CMake project that's setup correctly and I'm in the process of peer reviewing a CMake related book. Let me know what you think. Regards, Horváth V.