On 12/05/2014 04:28 AM, Erik Sjölund wrote:
> The CMake documentation doesn't mention that the order matters:
> http://www.cmake.org/cmake/help/v3.1/command/file.html#command:file
> 
> Why does the order of the options in file(GENERATE) matter?

It was always implemented that way:

 
http://www.cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmFileCommand.cxx;hb=v3.1.0-rc2#l3421

but the order was dropped from the documentation by accident during
reformatting.  I've fixed the documentation:

 Help: Document file(GENERATE) signature option order
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=fe21580b

-Brad

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to