I want to check whether a lists contains a specific entry like in the following code snipplet:
macro(foo) if ($(ARGN} contains \"bar\") ... endif endmacro() >
I have been using one liner like if ("${PLATFORM}" MATCHES "^(os|ios|android|linux|win32)$") to check if PLATFORM is in the list
if ("${PLATFORM}" MATCHES "^(os|ios|android|linux|win32)$")
PLATFORM