[cmake-developers] CheckTypeSize: Add support for C++
Matthew Woehlke
matthew.woehlke at kitware.com
Fri Oct 18 10:58:33 EDT 2013
On 2013-10-18 10:47, Rolf Eike Beer wrote:
> Am Freitag, 18. Oktober 2013, 10:42:19 schrieb Brad King:
>> So the block can be (untested):
>>
>> if("x${arg}" STREQUAL "xBUILTIN_TYPES_ONLY")
>
> Ah, horrid crap! :P
>
> Any chance that this would not do what is expected from it?
>
> if (arg STREQUAL "BUILTIN_TYPES_ONLY")
...doesn't that break if:
set(BUILTIN_TYPES_ONLY "I broke it!")
--
Matthew
More information about the cmake-developers
mailing list