[CMake] Configure Mac OS X for 32-bit
Sean McBride
sean at rogue-research.com
Mon May 3 13:00:47 EDT 2010
On Mon, 3 May 2010 10:27:35 -0600, Karl Merkley said:
>The code currently builds and runs in 32 or 64 bit on Linux, Mac and
>Windows. What I would like to be able to do is to detect the build
>environment that the user starts cmake in and configure correctly for
>that environment. For example, if I am building on my 32-bit Linux
>box I want to detect that gcc needs the -m32 flag and have that added
>automatically to my build process without having the user specify the
>architecture. I'm not looking at supporting cross-platform builds on
>one system, I just want to build correctly on the system that the user
>starts the build on
What's 'correctly'?
For example, on Mac OS X 10.6 on 64 bit capable hardware (that is, any
Mac you buy today), the OS can run both 32 and 64 bit applications.
Which is "correct"?
--
____________________________________________________________
Sean McBride, B. Eng sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
More information about the CMake
mailing list