[ITK Community] How to recompile only one module

Matt McCormick matt.mccormick at kitware.com
Mon Nov 18 23:46:53 EST 2013


Hi Michka,

If you can make the Hangout here:

  https://plus.google.com/events/c76is59hjeefad7r9dnfg992u88?authkey=CKO50fzl1uHgEw

we can do an interactive screenshare session.

Thanks,
Matt

On Fri, Nov 15, 2013 at 3:01 AM, Michka Popoff <michkapopoff at gmail.com> wrote:
> Hi
>
> I am still playing around with it, and I don't get it. I am able to recompile a single VTK module, or c++ files I made myself, but impossible to do anything with ITK.
> I tested under OS X and Fedora, to be sure it was not a platform dependent problem.
> Would it be possible to have a step by step tutorial ? It could also be added to the wiki for future users.
>
> Thanks for your help.
>
> Michka
>
>
> Le 3 nov. 2013 à 23:11, Matt McCormick a écrit :
>
>> Hi Michka,
>>
>> "make help" from the top of the build tree will list all build
>> targets.  This can be piped to grep to find the target of interest.
>> The "-all" targets will build both the library and the tests -- the
>> target with out the "-all" will just build the library and its
>> dependencies.  Another approach is to "cd" into the "test" directory
>> for the module in the build tree and run "make" from there.
>>
>> Thanks,
>> Matt
>>
>>
>> On Sat, Nov 2, 2013 at 4:47 PM, Michka Popoff <michkapopoff at gmail.com> wrote:
>>> Hi
>>>
>>> I successfully built ITK in a folder. I then made some modifications to a ITK module, in the source dir.
>>> I thought I could use the make command from the module's build folder (like I already did in VTK), to only recompile the current module.
>>>
>>> But it's only going through the files to see if everything is already built, and the it's telling me : Built target NameOfTheModule
>>>
>>> My question is : How do I recompile only one module / one file ?
>>>
>>> My question may seem obvious for c++/ITK developers, but as a Phytonist I can not figure it out ...
>>>
>>> Thanks in advance
>>>
>>> Michka
>>> _______________________________________________
>>> Community mailing list
>>> Community at itk.org
>>> http://public.kitware.com/cgi-bin/mailman/listinfo/community
>



More information about the Community mailing list