<div dir="ltr"><div dir="ltr">On Wed, Jan 2, 2019 at 12:24 PM Ben Boeckel via vtk-developers <<a href="mailto:vtk-developers@vtk.org">vtk-developers@vtk.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
      - Values are no longer boolean, but instead 5-state:<br>
        * `YES`: Must be built<br>
        * `NO`: Must not be built (turns off modules requiring it;<br>
          errors if required by a `YES` module)<br>
        * `WANT`: Build if possible<br>
        * `DONT_WANT`: Build only if necessary<br>
        * `DEFAULT`: Use group (for modules) and `VTK_BUILD_ALL_MODULES`<br>
          instead<br></blockquote><div><br></div><div>Out of curiosity, why "YES/NO" instead of "ON/OFF"?  Years of editing cmake</div><div>cache files has programmed ON/OFF into my fingertips, so I always end up</div><div>turning a module "ON" only to have it not be built.</div><div><br></div><div>Could cmake at least raise a warning/error if one of the allowed values is not</div><div>used?  Of course I'd prefer retiring YES/NO in favor of ON/OFF but I don't</div><div>know if that's feasible at this point.</div><div><br></div><div>   David</div><div><br></div><div> </div></div></div>