[Cmake] headers in project files?

Andy Cedilnik andy.cedilnik at kitware.com
Thu Jan 23 11:27:46 EST 2003


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,





More information about the CMake mailing list