On Thu, 7 Feb 2013 17:05:55 -0800, Ed said: >I am trying to build an app to be compatible with Mac OSX systems 10.6, >10.7, and 10.8 using the command line with cmake. I have successfully >built it for 10.7.5, now I would like to expand this app to be >compatible with 10.6 and 10.8 is this possible? >This is the command I am issuing to cmake: >cmake -DCMAKE_OSX_64=ON -DCMAKE_C_COMPILER=/usr/bin/gcc - >DCMAKE_CXX_COMPILER=/usr/bin/g++ .. > >Could anyone help me to build this app to be compatible with the other >two system?
The most important thing is to set the deployment target to 10.6. See "CMAKE_OSX_DEPLOYMENT_TARGET". If you want to support both 32 and 64 bit CPUs, you should also set the architectures, see "CMAKE_OSX_ARCHITECTURES". Cheers, -- ____________________________________________________________ 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