Re: [CMake] Wrapper for cmake (configure-script)

2013-02-14 Thread Richard Wiedenhöft
Done. Although I am not checking for version numbers as cmake already does this with cmake_minimum_required. Am Donnerstag, den 14.02.2013, 09:56 -0600 schrieb Kent Williams: > This is a good start. There's only one problem: What happens if CMake > isn't installed. Searching for a proper version

Re: [CMake] Wrapper for cmake (configure-script)

2013-02-14 Thread Kent Williams
This is a good start. There's only one problem: What happens if CMake isn't installed. Searching for a proper version of CMake should be dine in the script as well. It should also generate a config.status file. This need not be incredibly sophisticated, but since autoconf always generates one,

Re: [CMake] Wrapper for cmake (configure-script)

2013-02-14 Thread Rolf Eike Beer
Richard Wiedenhöft wrote: Yes, but providing a familiar interface for building source tarballs is imho a good thing. It does not prevent you from configuring your sources with the cmake-command itself. Furthermore such a script is necessary for compliance with the GNU Coding Standards. See ht

Re: [CMake] Wrapper for cmake (configure-script)

2013-02-14 Thread Hendrik Sattler
Am Donnerstag, 14. Februar 2013, 12:14:57 schrieb Richard Wiedenhöft: > Yes, but providing a familiar interface for building source tarballs is > imho a good thing. It does not prevent you from configuring your sources > with the cmake-command itself. > > Furthermore such a script is necessary for

Re: [CMake] Wrapper for cmake (configure-script)

2013-02-14 Thread Richard Wiedenhöft
Yes, but providing a familiar interface for building source tarballs is imho a good thing. It does not prevent you from configuring your sources with the cmake-command itself. Furthermore such a script is necessary for compliance with the GNU Coding Standards. See http://www.gnu.org/prep/standard

Re: [CMake] Wrapper for cmake (configure-script)

2013-02-14 Thread Ansis Māliņš
So, it's for, for example, Slackware or Gentoo users, who install everything from source and have the ./configure & make & make install combo ingrained in their motor memory? On Thu, Feb 14, 2013 at 10:59 AM, Richard Wiedenhöft < richard.wiedenho...@gmail.com> wrote: > Hello, > > I recently star

[CMake] Wrapper for cmake (configure-script)

2013-02-14 Thread Richard Wiedenhöft
Hello, I recently started writing a configure shell-script that is calling cmake and accepts options similar to the autotools configure script. https://github.com/Richard-W/cmake-configure-wrapper Maybe it is useful to some of you. As of now it is only supporting the CC, CXX and --prefix option