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" <[email protected]>
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 [email protected]
>
>
>
>
>
>
>On 6/20/13 3:38 PM, "Matt McCormick" <[email protected]> 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
>><[email protected]> 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 [email protected]
>>>
>>>
>>>
>>>
>>>
>>>
>>> ________________________________
>>> 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.
________________________________
_______________________________________________
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

Reply via email to