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                 s...@rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to