Proposal for some more `if` operations
Once again I've just written the boilerplate code
string(LENGTH "${BLAH_BLAH}" _len)
if(_len LESS ${threshold})
# Ok the string length fits...
endif()
unset(_len)
And started to dream about smth simple instead:
if(STRLENGTH BLAH_BLAH LESS ${threshold})
# Ok the string length fits...
endif()
And maybe smth similar could help for lists:
if(LISTLENGTH BLAH_BLAH_LIST EQUAL 10)
...
endif()