[Insight-users] Adding *.h and *.txx files that are in a folder...
Sylvain Jaume
sylvainjaume at gmail.com
Mon Sep 18 15:28:33 EDT 2006
Did you name the files CMakeLists.txt or CmakeLists.txt?
That may just be a typo in your email...
Sylvain
Gaëtan Lehmann wrote:
>
> Hi Sonali,
>
> Can you provide your CMakeLists.txt file, as well as your directory
> structure ?
> It would be easier to help with that :-)
>
> Thanks,
>
> Gaetan
>
> Le Sun, 17 Sep 2006 22:33:46 +0200, Sonali Barua
> <barua.sonali at gmail.com> a écrit:
>
>> Hello,
>>
>> Well I have done that. And there are several folders inside a folder
>> called
>> ItkG. I have added the INCLUDE_DIRECTORIES command and also the subdirs
>> command because there were several sub directories inside it. I also
>> made
>> the individual CmakeLists.txt file for each of the subdirs inside this
>> directory. But when I run the cmake . command I get an error that
>> says that
>> they cannot recognise the subdirs mentioned. What must I do in order
>> to make
>> it recognise my dirs in the Include directories command?
>>
>> Sincerely,
>>
>> Sonali Barua.
>>
>> On 9/17/06, Gaëtan Lehmann <gaetan.lehmann at jouy.inra.fr> wrote:
>>>
>>> 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
>>>
>
>
>
> --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
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
More information about the Insight-users
mailing list