[CMake] CMake minimum required version

Rolf Eike Beer eike at sf-mail.de
Sat Aug 25 07:41:40 EDT 2012


Russell Wallace wrote:
> CMake asks me to specify a minimum required version. I'm writing a
> mostly fairly vanilla C++ program, primary target platforms are Linux
> and Windows, dependencies on Boost and GMP, using the glob facility,
                                                        ^^^^^^^^^^^^^

That sounds suspicious. From the documentation (cmake --help-command file):

       We do not recommend using GLOB to
       collect a list of source files from your source tree.  If no
       CMakeLists.txt file changes when a source is added or removed then the
       generated build system cannot know when to ask CMake to regenerate.

Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120825/8494261b/attachment.pgp>


More information about the CMake mailing list