hellho...@binary-revolution.org wrote:
> Hmm this is strange, INCLUDE_DIRECTORIES is used but no effect.
> I try to set:
> 
>  INCLUDE_DIRECTORIES("C:/binrev/development/boost/1.47/")

Should be INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS}), no? We have such a shiny 
FindBoost.cmake that does all the work for you ;)

> 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 ..

You need to use INCLUDE_DIRECTORIES() before doing the ADD_SUBDIRECTORY(), 
ADD_EXECUTABLE(), or ADD_LIBRARY() that should use it.

Eike

Attachment: signature.asc
Description: This is a digitally signed message part.

--

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

Reply via email to