On 10/18/2013 09:05 AM, Daniele E. Domenichelli wrote: > On 18/10/13 14:07, Brad King wrote: >> If you want to parse it yourself you can follow the state machine >> convention used in Modules/FortranCInterface and in the C++ implementation >> of many commands (look for "doing"). Is there a drawback to using >> CMakeParseArguments? > > Not that I'm aware of, but it's not used in any other "check" module...
That may be historical but CMakeParseArguments also looks heavy-weight. Once we include it we cannot remove it without risk of breaking projects that depend on its inclusion through CheckTypeSize. > If it is ok for you, I will use it, otherwise I will have a look at the > state machine. It should be pretty simple to do it this way. Thanks, -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