[CMake] Ensuring not building for 64-bit
Michael Jackson
mike.jackson at bluequartz.net
Mon Aug 17 12:40:30 EDT 2009
On Aug 17, 2009, at 12:30 PM, ML wrote:
> Hi Mike,
>
>> The double __LP64__ is making sure it (__LP64__) is both DEFINED
>> and TRUE.
>>
>> # if defined ((__APPLE__)) && defined(__LP64__) && __LP64__
>> typedef CIconHandle OSColorIcon; // Mac CIcon
>> #else
>
> To to help me fine tune a bit..
>
> Wouldn't (__APPLE__) be automatically defined if I am compiling on
> OS X?
>
> Is there a place where I can see what others like __LP64__ are
> available?
>
> -Jason
>
>
The last email will default to 32 bit i386 compiles:
echo | gcc -arch x86_64 -E -dM -
for 64 bit intel builds
Mike
More information about the CMake
mailing list