Re: [CMake] Triggers for isysroot
On Mar 11, 2012, Michael Wild them...@gmail.com wrote: I think it depends on what you set it to. If it's the default SDK, it doesn't get included. It could also be that the CMAKE_OSX_DEPLOYMENT_TARGET variable plays into this. Sadly, my Mac died quiet some time ago, so I can't check right now... Michael Thank you for the reply. I'm off to wipe and reinstall because there have been three xcodes and three os versions in as many months. I have to get a baseline. But on this topic, I'm hypothesizing that there are well defined cases, when compiling for one architecture, that the sysroot path will get added. I think the sysroot path is attached somehow to -arch x86_64, but I'm just not up to reading the source today. I was hoping this would be an easy answer. The failure I'm trying to simplify to a reproducible case has only two CXX_FLAGS out of twenty that I can't locate their origin. -arch x86_64 -isysroot /some/path/to/an/sdk In the failing software, there is no CMAKE_OSX_DEPLOYMENT_TARGET specified to be used or set in the command, but I will look harder in case I missed it. Thanks for your suggestion. -- 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
Re: [CMake] Triggers for isysroot
On 03/11/2012 07:46 AM, P. Martin wrote: In CMake 2.8.7 on Lion, is there anything that would trigger -isysroot to appear in flags.make for a cxx program when there is no code by the devs to specifically add a -isysroot? Thanks. Yes, the CMAKE_OSX_SYSROOT in the cache does that. Michael -- 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
Re: [CMake] Triggers for isysroot
On Mar 11, 2012, Michael Wild them...@gmail.com wrote: On 03/11/2012 07:46 AM, P. Martin wrote: In CMake 2.8.7 on Lion, is there anything that would trigger -isysroot to appear in flags.make for a cxx program when there is no code by the devs to specifically add a -isysroot? Thanks. Yes, the CMAKE_OSX_SYSROOT in the cache does that. Michael I made a hello world program in c++, building in a CMake project. That variable gets defined during cmake. It does not trigger the inclusion of -isysroot /some/path/to/an/sdk in flags.make. Thank you for your reply. -- 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
Re: [CMake] Triggers for isysroot
On 03/11/2012 09:07 PM, P. Martin wrote: On Mar 11, 2012, Michael Wild them...@gmail.com wrote: On 03/11/2012 07:46 AM, P. Martin wrote: In CMake 2.8.7 on Lion, is there anything that would trigger -isysroot to appear in flags.make for a cxx program when there is no code by the devs to specifically add a -isysroot? Thanks. Yes, the CMAKE_OSX_SYSROOT in the cache does that. Michael I made a hello world program in c++, building in a CMake project. That variable gets defined during cmake. It does not trigger the inclusion of -isysroot /some/path/to/an/sdk in flags.make. Thank you for your reply. I think it depends on what you set it to. If it's the default SDK, it doesn't get included. It could also be that the CMAKE_OSX_DEPLOYMENT_TARGET variable plays into this. Sadly, my Mac died quiet some time ago, so I can't check right now... Michael -- 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