On 02/15/2014 05:56 AM, Stephen Kelly wrote: > If a project() command is not written in used code, cmake will generate one.
Historically this was meant to keep the hello-world example down to just a single line calling add_executable. With the modern complexities of project() and cmake_minimum_required() functionality perhaps it is time to drop that goal. > Does it make sense to add a policy to CMake 3.0 requiring that the project() > command be present and come after cmake_minimum_required(), and generating > the project() only in OLD behavior? I'd like to wait until after 3.0 for that. -Brad -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers