Sean: Sorry for the misdirection, Mail has some Idiosyncrasies I haven't quite figured out yet.
Here is what I tried: cmake -DCMAKE_OSX_64=ON -DCMAKE_OSX_DEPLOYMENT_TARGET=10.6 -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/g++ .. It built fine and runs on 10.7.5 but does not run on 10.6. 10.6 barfs with usual message saying this app was not built for this architecture. Do you suppose it could not find what it needs to build the 10.6 64 bit binaries? Would it give some kind of error message if it could not find the 10.6 SDK? Do I have to tell it were to find the 10.6 SDK? So many questions, and no answers on the cmake Website. Thanks, Freddie On Feb 7, 2013, at 5:18 PM, Sean McBride wrote: > 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 [email protected] > 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
