Re: CMake 4

Enno Rehling <[email protected]> Tue, 30 Dec 2025 12:11:03 +0100
Newsgroups gmane.comp.lib.fox-toolkit.user
Message-ID <[email protected]>

On 12/29/2025 00:20, JVZ wrote:
> On Sun, 28 Dec 2025 11:15:52 +0100
> Enno Rehling <[email protected]> wrote:
> 
>> On 12/27/2025 20:19, Roland Hughes via Foxgui-users wrote:
>>> Honestly, I hate MSYS2. Actually I hate anything to do with "Linux
>>> emulation" on Windows for building Windows apps.
>>
>> I agreee whole-heartedly. Trying to pretend that Windows can be made to
>> work like a UNIX is misguided.
> 
> MSYS2 ucrt does NOT do that, if I understand it correctly.

Apologies, I was thinking of cygwin, which does.

Someone mentioned vcpkg in this thread: While I'm usually in favor of 
using whatever OS package manager to install dependencies (apt, rpm, 
brew, or ports), in cases where there is none (Windows, either 32 or 64 
bit), vcpkg does a good job. I've never used it outside of Windows, but 
apparently that should also work (unless, like me, you prefer the native 
package manager).

>> Regarding the original post: A lot of distributions still ship with
>> CMake 3, appartently. My Debian 13 comes with CMake 3.31.6, to name one.
>> I have never needed to set cmake_minimum_required higher than 3.13 in
>> the past, and hope this doesn't mean I need to change my projects?
> 
> It looks like I'm on CMake 3.28.3; this is running Mint 22.2 "Zara" so
> I'm pretty up-to-date.

My point seems made: It may be too early to go all-in on CMake 4, and 
too big a step to take when introducing CMake to Fox all at once. What 
would be the advantage of using CMake 4 over 3? Are there must-have 
features that building Fox depends on?

Enno.