[Insight-developers] CMake variable name inconsistencies

Williams, Norman K norman-k-williams at uiowa.edu
Fri Sep 30 16:58:52 EDT 2011


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.
________________________________


More information about the Insight-developers mailing list