[cmake-developers] CheckTypeSize: Add support for C++
Brad King
brad.king at kitware.com
Fri Oct 18 09:19:44 EDT 2013
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
More information about the cmake-developers
mailing list