[CMake] Include_Directories

Alexander Neundorf a.neundorf-work at gmx.net
Tue Nov 6 18:18:20 EST 2007


On Tuesday 06 November 2007, Alexander.Camek at elektrobit.com wrote:
> Hi List,
>
> is there a variable to get all paths specified by Include_Directories.
> Because I need the path set for a third party programm to run on some
> source files, before the build is done. And this programm needs a subset of
> the paths given already in the include_directories command.
>
> Is there something like CMAKE_CURRENT_INCLUDE_DIR?

GET_DIRECTORY_PROPERTY(<var> INCLUDE_DIRECTORIES)

Alex


More information about the CMake mailing list