Hmm this is strange, INCLUDE_DIRECTORIES is used but no effect. I try to set:
INCLUDE_DIRECTORIES("C:/binrev/development/boost/1.47/") But the additional directory entry of my MSVC solution holds only the default settings: $(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSdkDir)include;$(FrameworkSDKDir)\include; Is there any chance that i could check if INCLUDE_DIRECORIES is set correctly by CMake? Maybe the settings are truncated by visual studio .. ----- Original Message ----- From: d3c...@gmail.com To: e...@sf-mail.de Date: 16.01.2012 19:15:50 Subject: Re: [CMake] How to add CMake includes and libraries to Visual Studio Solution? > On Mon, Jan 16, 2012 at 10:08 AM, Rolf Eike Beer <e...@sf-mail.de> wrote: >> J Decker wrote: >>> I just use >>> include_directories( ... ) >> >> This is right. >> >>> LINK_DIRECTORIES( ...} ) >> >> This is almost surely wrong. LINK_DIRECTORIES is only needed for very seldom >> special cases and only causes headache in all other cases. > > oh, what's the preferred method to specify the directory where the > library is then? > >> >> Eike >> -- >> >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the CMake FAQ at: >> http://www.cmake.org/Wiki/CMake_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://www.cmake.org/mailman/listinfo/cmake > -- > > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake