[Insight-developers] ITK/Modules/Remote with JUST headers & tests?
Williams, Norman K
norman-k-williams at uiowa.edu
Thu Jun 20 17:36:24 EDT 2013
Yes. I'll post the Gerrit patch in a minute. The repository in question is
https://github.com/BRAINSia/BRAINSFilterPack
The gerrit patch is here:
http://review.source.kitware.com/#/c/11703/
I tried to follow how other modules were constructed as closely as
possible.
--
Kent Williams norman-k-williams at uiowa.edu
On 6/20/13 4:19 PM, "Johnson, Hans J" <hans-johnson at uiowa.edu> wrote:
>Kent,
>
>Can you provide the example .cmake file contents so that others can
>reproduce your error?
>
>Hans
>
>
>On 6/20/13 5:18 PM, "Williams, Norman K" <norman-k-williams at uiowa.edu>
>wrote:
>
>>I hate to be contrary, but this is not the case. Furthermore
>>
>>I delete the 'src' directory in my remote module, and then if I go to the
>>build directory for the module I get this:
>>
>>make[1]: *** No rule to make target
>>`Modules/Remote/BRAINSFilterPack/all'.
>> Stop.
>>make: *** [all] Error 2
>>
>>And the tests for the module do not get built.
>>
>>Is there some sort of special magic that you need to use with the
>>itk_module macros to deal with the 'no src' case?
>>
>>--
>>Kent Williams norman-k-williams at uiowa.edu
>>
>>
>>
>>
>>
>>
>>On 6/20/13 3:38 PM, "Matt McCormick" <matt.mccormick at kitware.com> wrote:
>>
>>>Hi Kent,
>>>
>>>There should be nothing special about the Remote Module, and it should
>>>not need an src/ directory -- we have many Modules that work without.
>>>
>>>HTH,
>>>Matt
>>>
>>>On Thu, Jun 20, 2013 at 8:21 PM, Williams, Norman K
>>><norman-k-williams at uiowa.edu> wrote:
>>>> I'm trying to make a new remote module for ITK, and running into a
>>>> headscratcher.
>>>>
>>>> I have done the basics, as per instructions and existing examples.
>>>>But
>>>> what I'm adding, really is a new ITK filter. There's nothing to go in
>>>>a
>>>> library, i.e. no ITK build time compilation in the module.
>>>>
>>>> What happens, though, is that if there is no library built, the tests
>>>>do
>>>> not get built either. I only get a test built if I put a dummy c++
>>>>file
>>>> in the src directory and build a library with it.
>>>>
>>>> Am I missing something here, or is ther a problem with a remote Module
>>>> that only adds headers?
>>>>
>>>> --
>>>> Kent Williams norman-k-williams at uiowa.edu
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ________________________________
>>>> Notice: This UI Health Care e-mail (including attachments) is covered
>>>>by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is
>>>>confidential and may be legally privileged. If you are not the
>>>>intended
>>>>recipient, you are hereby notified that any retention, dissemination,
>>>>distribution, or copying of this communication is strictly prohibited.
>>>>Please reply to the sender that you have received the message in error,
>>>>then delete it. Thank you.
>>>> ________________________________
>>>> _______________________________________________
>>>> 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.php
>>>>
>>>> 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
>>
>>
>>
>>________________________________
>>Notice: This UI Health Care e-mail (including attachments) is covered by
>>the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is
>>confidential and may be legally privileged. If you are not the intended
>>recipient, you are hereby notified that any retention, dissemination,
>>distribution, or copying of this communication is strictly prohibited.
>>Please reply to the sender that you have received the message in error,
>>then delete it. Thank you.
>>________________________________
>>_______________________________________________
>>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.php
>>
>>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
>
________________________________
Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, then delete it. Thank you.
________________________________
More information about the Insight-developers
mailing list