[Insight-developers] CMake variable name inconsistencies
Bill Lorensen
bill.lorensen at gmail.com
Fri Sep 30 18:41:08 EDT 2011
I added the Module_ITKV3_Compatibility module and logic. I do not know
how to have the module option turn on the ITKV3_COMPATIBILITY flag.
Therefore, I put out the error message.
As for the name, ITKV3_COMPATIBILITY, I also chose it. It could be
changed I guess, unless we expect to have other ITKV3_ variables in
the future.
On Fri, Sep 30, 2011 at 4:58 PM, Williams, Norman K
<norman-k-williams at uiowa.edu> wrote:
> I noticed some CMake variables in the ITK build system that have
> inconsistent naming. I don't know exactly what the best solution to this
> will be but I think we need to get things consistent before people get
> accustomed to them:
>
> ITKV3_COMPATIBILITY -- this is a top level option, and it ends up in what
> the CMake-GUI calls 'Ungrouped Entries' -- it should be named
> ITK_V3_COMPATIBILITY, in which case it would be grouped with the other ITK
> variables
>
> But there is also Module_ITKV3Compatibility -- which is off by default,
> but is interlocked with ITKV3_COMPATIBILITY. If you turn on
> Module_ITKV3Compatibility, it's a config error unless ITKV3_COMPATIBILITY
> is also turned on. Shouldn't the Module_ option turn on
> ITKV3_Compatibility?
>
> It's a little weird if you actually look closely with cmake-gui at the ITK
> variable complement. There are Module_<module name> variables that are
> default off, like Module_ITKV3Compatibility. But if you enable them and
> re-run Configure, they disappear!
>
>
> --
> 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.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
>
More information about the Insight-developers
mailing list