[CMake] Problems with MSVC 2010 generator
Rolf Eike Beer
eike at sf-mail.de
Mon Jul 9 09:20:47 EDT 2012
Am 09.07.2012 15:07, schrieb Dominik Szczerba:
> Thanks a lot for your hints. I managed to find the problem. By some
> unclear reason iostream or one of its sub-includes includes math.h
> and
> very strangely does not take the one in the system folder, instead
> taking my local file called Math.h in the same folder as test.cxx
> (Windows names are unfortunately case insensitive). Renaming the file
> solves the issue.
The reason is very likely that MS compilers are broken regarding the
difference between <> and "" in #include statements, i.e. they always
work as "". You already found out why this is a bad idea.
Eike
More information about the CMake
mailing list