[CMake] get includes

Alexander Neundorf a.neundorf-work at gmx.net
Thu Aug 2 13:27:21 EDT 2007


On Wednesday 01 August 2007 18:53, Juan Sanchez wrote:
> Is it possible to get the include paths from ADD_DIRECTORIES into a
> custom command?  I need to pass along the include path for a special
> swig invocation.

Does get_directory_property( incDirs INCLUDE_DIRECTORIES) what you want ?

Alex


More information about the CMake mailing list