Re: [CMake] Strange behaviour of STREQUAL with a variable containing only type

2015-04-18 Thread Stephen Kelly
Nils Gladitz wrote: It is expected if type itself is a variable (set by some module evaluated by project()). Indeed we should probably clean up after ourselves (in the project() implementation) when using such generic names... Thanks, Steve. -- Powered by www.kitware.com Please keep

Re: [CMake] Strange behaviour of STREQUAL with a variable containing only type

2015-04-17 Thread Nils Gladitz
On 17.04.2015 13:09, Sylvain Doremus wrote: I have a strange output, related to the minimal CMakeLists.txt that I've provided with this email. My CMake version is 3.2.1, on Windows Seven SP1, the tested generators are Visual Studio 10 2010 and Visual Studio 10 2010 Win64. Here is the output

[CMake] Strange behaviour of STREQUAL with a variable containing only type

2015-04-17 Thread Sylvain Doremus
I have a strange output, related to the minimal CMakeLists.txt that I've provided with this email. My CMake version is 3.2.1, on Windows Seven SP1, the tested generators are Visual Studio 10 2010 and Visual Studio 10 2010 Win64. Here is the output I've got: TestFolder/type TestFolder