Hi Jean Louis, Since I am also curious to understand, will CMake be case sensitive, i.e. will there be a difference between “Debug” “debug” and “DEBUG”?
Will this be the same over all platforms? We have case sensitive Linuxes, case insensitive Windowses and case aware MacOs which is something inbetween and it would simply things if they all behaved the same. Von meinem iPhone gesendet P.O. Jonsson > Am 21.11.2025 um 08:50 schrieb Jean Louis Faucher <[email protected]>: > > > The last change is ok, but I was curious to understand what happened. > https://chatgpt.com/share/692017e8-3294-8007-8e1f-d909ad6164f6 > > (scroll up to see the full conversation; it contains some interesting > information) > > > The conclusion is > Always write: > > if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug") > Quoting the variable avoids these parsing errors and works reliably whether > the variable is set or empty. > > This is considered best practice in modern CMake. > > _______________________________________________ > Oorexx-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/oorexx-devel
_______________________________________________ Oorexx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oorexx-devel
