[CMake] Variable Containing MSVC and MATCHES

2014-03-12 Thread Marek Vojtko (Firaxis)
Hi, I know that MSVC is a CMake keyword and it is therefore not a good idea to use the string MSVC as the value for any variable, e.g. set( compiler MSVC ), because if you aren't careful and interpret such a variable without surrounding it with quotes (e.g. ${compier} rather than ${compiler})

Re: [CMake] Variable Containing MSVC and MATCHES

2014-03-12 Thread Matthew Woehlke
On 2014-03-12 16:25, Marek Vojtko (Firaxis) wrote: I know that MSVC is a CMake keyword and it is therefore not a good idea to use the string MSVC as the value for any variable, e.g. set( compiler MSVC ), because if you aren't careful and interpret such a variable without surrounding it with