[CMake] How to add CMake includes and libraries to Visual Studio Solution?

John Drescher drescherjm at gmail.com
Mon Jan 16 12:08:51 EST 2012


> Where did you define your INCLUDE_DIRECTORIES? I also tried to set an absolute
> path instead of using the CMake list, same result. Nothing is set...

For me this works as well. Define  INCLUDE_DIRECTORIES anywhere above
the ADD_EXECUTABLE or ADD_LIBRARY and visual studio will use it.

-- 
John M. Drescher


More information about the CMake mailing list