Re: cmake support

2019-01-08 Thread Bruno Haible
Andrew Pennebaker wrote: > CONFIGURE_COMMAND "${PROJECT_SOURCE_DIR}/gnulib/gnulib-tool" --dir > "${PROJECT_SOURCE_DIR}/gnulib-prefix/src/gnulib-build" --import openat # && > autoreconf -i && ./configure I don't know if you intend to make releases with tarballs from your project. But if so, the

Re: cmake support

2019-01-07 Thread Kamil Dudka
On Tuesday, January 8, 2019 2:46:08 AM CET Andrew Pennebaker wrote: > Hmm, cmake clearly supports building *libraries and executables* for > non-cmake external projects. But in the case of gnulib, gnulib itself does > not emit a library or executable, right? gnulib builds a static library. I thou

Re: cmake support

2019-01-07 Thread Andrew Pennebaker
Hmm, cmake clearly supports building *libraries and executables* for non-cmake external projects. But in the case of gnulib, gnulib itself does not emit a library or executable, right? It's meant to be sourced inside of another autotools project. Can cmake really be integrated around gnulib, or am

Re: cmake support

2019-01-06 Thread Kamil Dudka
On Sunday, January 6, 2019 3:22:01 AM CET Andrew Pennebaker wrote: > Ach, I've made a career out of not having to know autotools! ./configure && > make && [sudo] make install were black boxes as far as I was concerned. > > So be it, I'll spend some time reading up this weekend and see how far I >

Re: cmake support

2019-01-05 Thread Bruno Haible
Andrew Pennebaker wrote: > MSVC integration will become more interesting The usual way to do MSVC builds of packages that use Autotools is to use wrapper scripts 'ar-lib' and 'compile' that provide a Unix-y interface to the MSVC compilers. See https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=b

Re: cmake support

2019-01-05 Thread Andrew Pennebaker
Ach, I've made a career out of not having to know autotools! ./configure && make && [sudo] make install were black boxes as far as I was concerned. So be it, I'll spend some time reading up this weekend and see how far I get. MSVC integration will become more interesting, but I suppose I can disab

Re: cmake support

2019-01-05 Thread Kamil Dudka
On Saturday, January 5, 2019 6:53:06 PM CET Bruno Haible wrote: > Hi, > > Andrew Pennebaker wrote: > > Could we improve how gnulib integrates with downstream projects, to make > > it > > easier to work with different build tools? In particular, would be helpful > > for gnulib to easily work with c

Re: cmake support

2019-01-05 Thread Bruno Haible
Hi, Andrew Pennebaker wrote: > Could we improve how gnulib integrates with downstream projects, to make it > easier to work with different build tools? In particular, would be helpful > for gnulib to easily work with cmake projects. > > In my case, I have an application that needs openat(), and I

Re: cmake support

2019-01-05 Thread Paul Eggert
Andrew Pennebaker wrote: Could we improve how gnulib integrates with downstream projects, to make it easier to work with different build tools? In particular, would be helpful for gnulib to easily work with cmake projects. It would also be helpful for Gnulib to work better with GNU Make, while

cmake support

2019-01-05 Thread Andrew Pennebaker
Could we improve how gnulib integrates with downstream projects, to make it easier to work with different build tools? In particular, would be helpful for gnulib to easily work with cmake projects. In my case, I have an application that needs openat(), and I already have a complex cmake configurat