<div dir="ltr">Thanks for the detailed response!</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 28, 2017 at 11:25 AM, Ben Boeckel <span dir="ltr"><<a href="mailto:ben.boeckel@kitware.com" target="_blank">ben.boeckel@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Dec 28, 2017 at 10:01:21 -0500, Isaiah Norton wrote:<br>
> I've seen several comments recently about upcoming changes to VTK's modules<br>
> and/or cmake system [1]. But I'm having trouble finding an<br>
> issue/wiki/thread about these plans.<br>
><br>
> Any suggestions? (or perhaps it's only a shared-intention for revamps made<br>
> possible by CMake+compiler minimum-version bumps...)<br>
<br>
</span>The plans have mostly been internal discussions, sorry. The branch is<br>
currently a work-in-progress. The commit history is a mess on the<br>
current branch, but I'm working on making proper commits for it (I'm in<br>
the middle of third-party stuff right now).<br>
<br>
Basically the idea is to make VTK leverage the new features in CMake<br>
since 3.0 with target-based logic rather than the old system's variable<br>
slinging and such.<br>
<br>
The core of it is here:<br>
<br>
    <a href="https://gitlab.kitware.com/ben.boeckel/vtk/blob/new-cmake-module/CMake/vtkModule.cmake" rel="noreferrer" target="_blank">https://gitlab.kitware.com/<wbr>ben.boeckel/vtk/blob/new-<wbr>cmake-module/CMake/vtkModule.<wbr>cmake</a><br>
<br>
A simple(ish) module:<br>
<br>
    <a href="https://gitlab.kitware.com/ben.boeckel/vtk/blob/new-cmake-module/Common/DataModel/CMakeLists.txt" rel="noreferrer" target="_blank">https://gitlab.kitware.com/<wbr>ben.boeckel/vtk/blob/new-<wbr>cmake-module/Common/DataModel/<wbr>CMakeLists.txt</a><br>
<br>
The new module file format (it is treated as a CMake argument block; no<br>
logic allowed):<br>
<br>
    <a href="https://gitlab.kitware.com/ben.boeckel/vtk/blob/new-cmake-module/Common/DataModel/vtk.module" rel="noreferrer" target="_blank">https://gitlab.kitware.com/<wbr>ben.boeckel/vtk/blob/new-<wbr>cmake-module/Common/DataModel/<wbr>vtk.module</a><br>
<br>
Language wrapping is also now done explicitly rather than implicitly<br>
based on global variables. This means that VTK uses the wrapping logic<br>
just as any other VTK-using library would:<br>
<br>
    <a href="https://gitlab.kitware.com/ben.boeckel/vtk/blob/new-cmake-module/CMakeLists.txt#L126" rel="noreferrer" target="_blank">https://gitlab.kitware.com/<wbr>ben.boeckel/vtk/blob/new-<wbr>cmake-module/CMakeLists.txt#<wbr>L126</a><br>
<br>
Documentation needs improvement, but it will get there before merging.<br>
The plan is to extract it from the CMake files and dump it out for<br>
Doxygen to put into the official docs.<br>
<br>
Thanks,<br>
<br>
--Ben<br>
</blockquote></div><br></div>