Re: [CMake] SET_SOURCE_FILES_PROPERTIES for extra include directories

2007-03-15 Thread Brandon J. Van Every
James Bigler wrote: Is is possible to add include directories for a particular source file? Right now I do: INCLUDE_DIRECTORIES(${Extra_Include_Dir}) But this puts the extra includes on all the files for the libraries in the CMakeLists.txt file. Where is the harm in doing so? Are you havin

[CMake] SET_SOURCE_FILES_PROPERTIES for extra include directories

2007-03-15 Thread James Bigler
Is is possible to add include directories for a particular source file? Right now I do: INCLUDE_DIRECTORIES(${Extra_Include_Dir}) But this puts the extra includes on all the files for the libraries in the CMakeLists.txt file. What I want is to do something like: SET_SOURCE_FILES_PROPERTIE