<p dir="ltr">The current cmake builds the installed directory tree correctly. It is probably the best example.</p>
<p dir="ltr">Pete</p>
<div class="gmail_quote">On Feb 28, 2015 6:50 AM, "Eugen Wintersberger" <<a href="mailto:eugen.wintersberger@desy.de">eugen.wintersberger@desy.de</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I go with Pete here<br>
<br>
> We need expertise to overcome the problem or need to revert temporarily<br>
> back to the system that worked while the cmake build system is<br>
> re-engineered to do all it does now PLUS support incremental builds.<br>
<br>
I read through the build system yesterday. To get all the features<br>
required the code definitely needs some time, in particular because, at<br>
least in my opinion, some of the choices where not as smart as<br>
originally thought.<br>
Reverting to the old system has to major advantages<br>
1.) you have a working system<br>
2.) it would give others the freedom to do work on cmake<br>
<br>
Saying this, I would volunteer to do some work on the build system (lets<br>
start with the documentation). However what I am really missing is how<br>
the installed directory tree should look like - is this documented<br>
anywhere?<br>
<br>
regards<br>
Eugen<br>
<br>
><br>
> To understand the problem with incremental builds, see:<br>
> <a href="https://github.com/nexusformat/definitions/issues/360" target="_blank">https://github.com/nexusformat/definitions/issues/360</a><br>
><br>
> Pete<br>
><br>
><br>
><br>
> On 2/27/2015 7:12 AM, Peterson, Peter F. wrote:<br>
> > Latex support has been in cmake for some time<br>
> > <a href="https://github.com/Kitware/CMake/blob/master/Modules/FindLATEX.cmake" target="_blank">https://github.com/Kitware/CMake/blob/master/Modules/FindLATEX.cmake</a><br>
> ><br>
> > While I haven¹t tried latex, using the variables/functions that cmake<br>
> > defines is generally straightforward.<br>
> ><br>
> > On 2/27/15, 6:09 AM, "Koennecke Mark (PSI)" <<a href="mailto:mark.koennecke@psi.ch">mark.koennecke@psi.ch</a>> wrote:<br>
> ><br>
> >> Hi,<br>
> >><br>
> >><br>
> >>> Am 27.02.2015 um 08:23 schrieb Eugen Wintersberger<br>
> >>> <<a href="mailto:eugen.wintersberger@desy.de">eugen.wintersberger@desy.de</a>>:<br>
> >>><br>
> >>> On Thu, 2015-02-26 at 15:25 +0000, Tobias Richter wrote:<br>
> >>>> If implemented a single build system would be a neat idea. We are<br>
> >>>> transitioning to cmake for the last five years. At this moment we seem<br>
> >>>> to have persistent problems with the documentation build using cmake on<br>
> >>>> all OSes, cmake for napi and tools reportedly working for Windows but<br>
> >>>> not other platforms. That¹s not a success story.<br>
> >>><br>
> >>> From my personal experience with CMake (which I use for all my code) it<br>
> >>> is straight forward to build code (Fortran, C, C++). However, when one<br>
> >>> tries to build something else things are quickly getting tricky.<br>
> >>> It took my quite a while to figure out how to reliably build latex<br>
> >>> documents with cmake.<br>
> >>><br>
> >>>><br>
> >><br>
> >><br>
> >> As I remember it the original plan was to have the same build system for<br>
> >> both documentation and NAPI.<br>
> >><br>
> >> Unlike Eugen, my personal experience with cmake (from building Mantid) is<br>
> >> that it can be painful and intransparent.<br>
> >> Autotools is painful as well. IMHO, when switching from autotools to<br>
> >> cmake we are just swapping one pain for<br>
> >> another. The pain can be attributed to the underlying problem of<br>
> >> managing complex dependencies across<br>
> >> platforms.<br>
> >><br>
> >> May be we should make little matrix what work with autotools, what works<br>
> >> with cmake for both docs and NAPI and<br>
> >> stick with the best. Except an expert in either of these tools steps<br>
> >> forwards and volunteers a weeks worth of work<br>
> >> to fix it all. And feed our fixes upstream to cmake, autotools<br>
> >><br>
> >> Regards,<br>
> >><br>
> >> Mark K.<br>
> >><br>
> >><br>
> >><br>
> >><br>
> >>>> So far I was certainly sitting back, watching the cmake experts do<br>
> >>>> their cross platform magic that I have no urgent need for. But there<br>
> >>>> seems to be more magic required than anticipated and the experts have<br>
> >>>> other problems to attend in their facilities.<br>
> >>>><br>
> >>>> I would wish we make a decision on the way forward before the next<br>
> >>>> code camp, keeping in mind both what the best solution is and what<br>
> >>>> resources and know-how we have at our disposal.<br>
> >>>><br>
> >>>> Regards,<br>
> >>>><br>
> >>>> Tobias<br>
> >>>><br>
> >>>><br>
> >>>><br>
> >>>>> On 26 Feb 2015, at 15:39, Eugen Wintersberger<br>
> >>>>> <<a href="mailto:eugen.wintersberger@desy.de">eugen.wintersberger@desy.de</a>> wrote:<br>
> >>>>><br>
> >>>>> Ok - next try ;)<br>
> >>>>> On Thu, 2015-02-26 at 08:36 -0600, Pete Jemian wrote:<br>
> >>>>>> The old build system worked for me on Windows.<br>
> >>>>><br>
> >>>>> :D<br>
> >>>>> Maybe the intention was to have a single build system for all sources?<br>
> >>>>><br>
> >>>>>><br>
> >>>>>> On 2/26/2015 8:35 AM, Eugen Wintersberger wrote:<br>
> >>>>>>> I think the general reason why people want to use cmake is that it<br>
> >>>>>>> also<br>
> >>>>>>> works on Windows ;).<br>
> >>>>>>> Although I am not sure if this was the particular reason why we<br>
> >>>>>>> wanted<br>
> >>>>>>> to build the documentation with cmake.<br>
> >>>>>>><br>
> >>>>>>> Eugen<br>
> >>>>>>><br>
> >>>>>>> On Wed, 2015-02-25 at 18:18 -0600, Pete Jemian wrote:<br>
> >>>>>>>> slight rant here:<br>
> >>>>>>>><br>
> >>>>>>>> What, again, was our motivation for using cmake to build the<br>
> >>>>>>>> manual?<br>
> >>>>>>>> Let's go back to the Makefile system. It was not broken.<br>
> >>>>>>>><br>
> >>>>>>>> see <a href="https://github.com/nexusformat/definitions/issues/391" target="_blank">https://github.com/nexusformat/definitions/issues/391</a><br>
> >>>>>>>><br>
> >>>>>>>> Pete<br>
> >>>>>>>> _______________________________________________<br>
> >>>>>>>> NeXus-committee mailing list<br>
> >>>>>>>> <a href="mailto:NeXus-committee@nexusformat.org">NeXus-committee@nexusformat.org</a><br>
> >>>>>>>> <a href="http://lists.nexusformat.org/mailman/listinfo/nexus-committee" target="_blank">http://lists.nexusformat.org/mailman/listinfo/nexus-committee</a><br>
> >>>>>>><br>
> >>>>><br>
> >>>>> _______________________________________________<br>
> >>>>> NeXus-committee mailing list<br>
> >>>>> <a href="mailto:NeXus-committee@nexusformat.org">NeXus-committee@nexusformat.org</a><br>
> >>>>> <a href="http://lists.nexusformat.org/mailman/listinfo/nexus-committee" target="_blank">http://lists.nexusformat.org/mailman/listinfo/nexus-committee</a><br>
> >>>><br>
> >>><br>
> >>> _______________________________________________<br>
> >>> NeXus-committee mailing list<br>
> >>> <a href="mailto:NeXus-committee@nexusformat.org">NeXus-committee@nexusformat.org</a><br>
> >>> <a href="http://lists.nexusformat.org/mailman/listinfo/nexus-committee" target="_blank">http://lists.nexusformat.org/mailman/listinfo/nexus-committee</a><br>
> >><br>
> >><br>
> >> _______________________________________________<br>
> >> NeXus-committee mailing list<br>
> >> <a href="mailto:NeXus-committee@nexusformat.org">NeXus-committee@nexusformat.org</a><br>
> >> <a href="http://lists.nexusformat.org/mailman/listinfo/nexus-committee" target="_blank">http://lists.nexusformat.org/mailman/listinfo/nexus-committee</a><br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > NeXus-committee mailing list<br>
> > <a href="mailto:NeXus-committee@nexusformat.org">NeXus-committee@nexusformat.org</a><br>
> > <a href="http://lists.nexusformat.org/mailman/listinfo/nexus-committee" target="_blank">http://lists.nexusformat.org/mailman/listinfo/nexus-committee</a><br>
> ><br>
> _______________________________________________<br>
> NeXus-committee mailing list<br>
> <a href="mailto:NeXus-committee@nexusformat.org">NeXus-committee@nexusformat.org</a><br>
> <a href="http://lists.nexusformat.org/mailman/listinfo/nexus-committee" target="_blank">http://lists.nexusformat.org/mailman/listinfo/nexus-committee</a><br>
<br>
</blockquote></div>