[Insight-users] Adding *.h and *.txx files that are in a folder...

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Sun Sep 17 05:28:33 EDT 2006


Le Sun, 17 Sep 2006 03:20:53 +0200, Sonali Barua <barua.sonali at gmail.com>  
a écrit:

> Hello,
>
> I am facing a problem in my CMakeLists.txt file. I would like to add  
> several
> ITK files in a folder that consitutes a library that isn't yet part of  
> the
> original ITK library using cmake. What are the commands that I have to  
> use
> so that my source files can use these set of header and .txx files while
> compiling make?

Hi,

The command INCLUDE_DIRECTORIES() should do what you want.
Please look at http://cmake.org/HTML/Documentation.html or run

   cmake --help-command INCLUDE_DIRECTORIES

for a complete description.

Regards,

Gaetan



-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr


More information about the Insight-users mailing list