[CMake] Patch to apply! Changing the default name"CMakeLists.txt"!
Martin Lütken
mlu at danware.dk
Sun Jan 13 13:45:00 EST 2008
It's fine by me to use -f and --file. And if thats what make does then there's even
more reason to do so.
Should I make that change and make a new patch ?
Or if you can put it into cvs it's also fine by me if you make that search / replace.
-Martin
-----Original Message-----
From: cmake-bounces+mlu=danware.dk at cmake.org on behalf of Brandon Van Every
Sent: Sun 1/13/2008 6:57 PM
To: cmake at cmake.org
Subject: Re: [CMake] Patch to apply! Changing the default name"CMakeLists.txt"!
On Jan 13, 2008 12:13 PM, Martin Lütken <mlu at danware.dk> wrote:
>
> It's a long time since I said I might do this feature. But with the
> supplied
> patch it's now possible to use the option '--cmakelists-file-name' to
> specify
> another filename to look for instead of 'CMakeLists.txt'.
Is a short form single letter version of this command also available?
I would recommend -f as it's parallel with Make. I also think
--cmakelists-file-name is excessively verbose. --file would be
sufficient, although you could retain the longer name also. Here's
what Make does:
-f FILE, --file=FILE, --makefile=FILE
Read FILE as a makefile.
I think it's important to respect these nuances / niceties /
conventions for command line options. CMake is not a terribly command
line oriented tool, but there's a lot of command line oriented people
out there that we'd like to convert to CMake. So it would be good if
we give them the kinds of things they expect, to the degree that it's
easy for us to do so. I think in this case -f is quite easy.
Cheers,
Brandon Van Every
_______________________________________________
CMake mailing list
CMake at cmake.org
http://www.cmake.org/mailman/listinfo/cmake
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20080113/db82a2fb/attachment.html
More information about the CMake
mailing list