[CMake] problem with include directories
Brad King
brad.king at kitware.com
Tue Dec 14 07:26:13 EST 2004
Sergio Andrés wrote:
> Thank you for your answer.
> I opened the .dsp file and all the include dirs are as expected. So VS
> is truncating the path, as you said.
> Furthermore, the _AFXDLL definition (my project uses MFC) is in the .dsp
> but not in the project when it is opened by Visual Studio... which
> generates some link errors...
>
> I know this is a list for CMake users.. but do you know how to solve
> these problems??
I've seen this before and it is just a limitation of VS. You can
work-around it by shortening the path to your source and build trees so
that all include paths are shorter. If that does not help then you will
have to switch to the NMake generator and building from the command prompt.
-Brad
More information about the CMake
mailing list