[Cmake] headers in project files?

Andy Cedilnik andy . cedilnik at kitware . com
23 Jan 2003 11:27:46 -0500


Hi Klaas,

This is possible. What you do is you put in the CMakeLists.txt file next
to the sources the following command:

INCLUDE_DIRECTORIES(${projectname_SOURCE_DIR}/path_to_header_files)

				Andy

On Thu, 2003-01-23 at 11:15, Klaas Holwerda wrote:
> Is it possible to have a folder ( next to the source file folder) in the 
> project files which contains the header files.
> This is very common in other (open source) projects, but more important, 
> it is very handy.
> 
> I am rather new to cmake, so maybe it is simple to do,
> but i don't see how,