[CMake] Case-insensitive string compare
cmake.cmake.narkive.com › huJtnF7c › caseYou have to use TOLOWER and add an extra variable if you can't mutate your existing variable value... set ( file "Makefile" ) string ( TOLOWER "$ {file}" file_lower ) if ( file_lower STREQUAL "makefile" ) ... ... Continue reading on narkive : Search results for ' [CMake] Case-insensitive string compare' (Questions and Answers) 4 replies
string — CMake 3.23.0-rc3 Documentation
cmake.org › cmake › helpGet an element from <json-string> at the location given by the list of <member|index> arguments. Array and object elements will be returned as a JSON string. Boolean elements will be returned as ON or OFF. Null elements will be returned as an empty string. Number and string types will be returned as strings.