<div dir="ltr"><div><div><div>Sorry, I just figured it out<br><br></div>BUILD_EXAMPLES should be ON<br><br></div>then <br><br></div> make ExampleName <br><br>works<br></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">
Nicolás Gallego-Ortiz<br>Université catholique de Louvain, Belgium<br></div></div>
<br><br><div class="gmail_quote">2014-08-21 18:55 GMT+02:00 Nicolas Gallego <span dir="ltr"><<a href="mailto:nicgallego@gmail.com" target="_blank">nicgallego@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><div><div><div>Hi Matt, Hello everybody,<br><br></div>Just a further question of this issue I asked a while ago,<br><br></div>I am trying to build, as you said, selected examples using the build target<br>

<br></div>as <br><br></div>make ExampleName,<br><br></div>I am on Ubuntu and I just built itk 4.5 without the BUILD_EXAMPLES flag. Compilation went Ok.<br></div><div>Now on the build directory, say I need the example Mesh1.cxx, the try on the built directory<br>

<br></div><div>make Mesh1<br><br></div><div>but I get the following error,<br><br>make: *** No rule to make target `Mesh1'.  Stop.<br><br></div><div>What I am missing? Thank you<br></div></div><div class="gmail_extra">
<div class="">
<br clear="all"><div><div dir="ltr">Nicolás Gallego-Ortiz<br>Université catholique de Louvain, Belgium<br></div></div>
<br><br></div><div class="gmail_quote">2014-07-10 18:42 GMT+02:00 Matt McCormick <span dir="ltr"><<a href="mailto:matt.mccormick@kitware.com" target="_blank">matt.mccormick@kitware.com</a>></span>:<div><div class="h5">
<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Nicolas,<br>
<br>
If individual modules are selected during CMake configuration, only<br>
those tests will be built an run.  Unfortunately, when BUILD_EXAMPLES<br>
is ON, all examples will be built.  To just build select examples the<br>
best current option is to select the corresponding build target.  This<br>
is build system specific.  With Unix Makefiles, for example,<br>
<br>
  make ExampleName<br>
<br>
Hope this helps,<br>
Matt<br>
<div><div><br>
<br>
<br>
On Thu, Jul 10, 2014 at 12:15 PM, Nicolas Gallego <<a href="mailto:nicgallego@gmail.com" target="_blank">nicgallego@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> Here is a naive question, after waiting long time and seeing how much disk<br>
> space a complete compilation of ITK library takes, with all examples and<br>
> tests.<br>
><br>
> Is it possible to specify to compile just a subset of examples and tests?<br>
> Before I have copied and pasted out some source code to achieve this but I<br>
> guess there should be a nicer way to do it.<br>
><br>
> Thank you,<br>
><br>
> Nicolás Gallego-Ortiz<br>
> Université catholique de Louvain, Belgium<br>
><br>
</div></div>> _______________________________________________<br>
> Community mailing list<br>
> <a href="mailto:Community@itk.org" target="_blank">Community@itk.org</a><br>
> <a href="http://public.kitware.com/mailman/listinfo/community" target="_blank">http://public.kitware.com/mailman/listinfo/community</a><br>
><br>
_______________________________________________<br>
Community mailing list<br>
<a href="mailto:Community@itk.org" target="_blank">Community@itk.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/community" target="_blank">http://public.kitware.com/mailman/listinfo/community</a><br>
</blockquote></div></div></div><br></div>
</blockquote></div><br></div>