[Insight-developers] In-source build : gdcm
kent williams
norman-k-williams at uiowa.edu
Thu Oct 14 10:25:36 EDT 2010
I don¹t know if anyone else has noticed this, but this CMake quirk has
caused premature greying amongst some of our RAs:
If you accidentally configure for an In-source build, and then try and use
the same source tree for an out-of-source build, it will appear to configure
correctly, but the out of source build tree is un-buildable. CMake still
wants you to build in-source.
You have to either kill your source tree and check it out again, or manually
remove all the CMake droppings¹ in your source tree, which are considerable
in number, and rather obscure if you¹re not a grizzled CMake veteran.
On 10/13/10 4:54 PM, "Luis Ibanez" <luis.ibanez at kitware.com> wrote:
>
> Hi Mathieu,
>
> CPack supports in-source builds.
>
> The warning is probably unnecessary.
>
>
> However, we have to setup a Nightly
> build that tests the Installation of ITK.
> (that's in my plate...)
>
>
> Luis
>
>
> -----------------------------------------------------------
> On Mon, Oct 11, 2010 at 8:06 AM, Mathieu Malaterre
> <mathieu.malaterre at gmail.com> wrote:
>> On Mon, Oct 11, 2010 at 2:06 AM, Luis Ibanez <luis.ibanez at kitware.com> wrote:
>>> >
>>> > Hi Mathieu,
>>> >
>>> > I know that we encourage users to do out-of-source builds,
>>> > but was not aware that we are now precluding users from
>>> > making in-source builds:
>>> >
>>>> >> cd ITK
>>>> >> cmake .
>>> >
>>> >
>>> > Make Error at Utilities/gdcm/CMakeLists.txt:34 (MESSAGE):
>>> > GDCM requires an out of source Build. Please create a separate binary
>>> > directory and run CMake there.
>>> >
>>> >
>>> > -- Configuring incomplete, errors occurred!
>>> >
>>> >
>>> > -----------------------
>>> >
>>> >
>>> > Is there a deep technical reason for this change ?
>>
>> CPack does not support in-source built AFAIK. I'll change the error to
>> a warning.
>>
>> Thanks for the report.
>> --
>> Mathieu
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20101014/651c6c00/attachment.htm>
More information about the Insight-developers
mailing list