On 5/3/2010 11:11 AM, Tron Thomas wrote:
What is the purpose for the OSX_ARCHITECTURE and
OSX_ARCHITECTURES_<CONFIG> properties that already exist in CMAKE? It
seems like they might be properties that are already meant to address an
issue like this, only I can't figure out how they work.

OSX_ARCHITECTURES is mostly meant to select which archs you want to build. It was designed with the idea that it would be selected by the end user and not in the CMakeLists.txt of the project. CMake uses this to create its fat binaries (ppc/i386) on the mac.

Also, I think previous versions of CMake did not have this problem, only
I'm not certain of that.

We just verified, CMake 2.2.3 through to 2.8.1 all default to building 64 bit on 10.6. The change was by Apple not CMake.

-Bill


_______________________________________________
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