[CMake] win32 and x64 in the same generator?

Mike Jackson mike.jackson at bluequartz.net
Mon Jun 1 23:45:38 EDT 2009


On Mon, Jun 1, 2009 at 10:36 PM, Philip Lowman <philip at yhbt.com> wrote:
> On Mon, Jun 1, 2009 at 6:29 PM, Tyler Roscoe <tyler at cryptio.net> wrote:
>>
>> What are the pitfalls or difficulties in supporting this sort of
>> "cross-compiling" in Visual Studio?
>
> Two things come to mind:
>
> 1. find_library() (i.e. dependencies).. How would you pick 64-bit vs.
> 32-bit?
> 2. When compile tests are run (e.g. sizeof(void*) ).  Which compiler would
> be used, 32-bit or 64-bit?
>
> --
> Philip Lowman
>
Those same problems are all in the Xcode generator also as one can
specify up to 4 archs on OS X to compile for.

Mike J.


More information about the CMake mailing list