Re: [CMake] XCode Generation Issue

2016-01-21 Thread Eric Wing
On 1/21/16, David Morsberger wrote: > Eric, > > I went down a rabbit hole and pulled myself back out. I narrowed it down to > the following. > > We are using cmake to check if the linker supports -Wl,—as-needed. The test > compile (and link?) command cmake builds using ‘cmake -G Xcode’ does not >

Re: [CMake] XCode Generation Issue

2016-01-21 Thread David Morsberger
Eric, I went down a rabbit hole and pulled myself back out. I narrowed it down to the following. We are using cmake to check if the linker supports -Wl,—as-needed. The test compile (and link?) command cmake builds using ‘cmake -G Xcode’ does not fail. The command from ‘cmake -G’ has been narr

Re: [CMake] XCode Generation Issue

2016-01-20 Thread Eric Wing
On 1/20/16, David Morsberger wrote: > >> On Jan 19, 2016, at 10:11 PM, Eric Wing wrote: >> >> On 1/19/16, David Morsberger wrote: >>> Any help would be appreciated. >>> >>> In particular I’d like to know how the default compiler arguments are >>> set >>> when ‘cmake -G Xcode’ is executed. The at

Re: [CMake] XCode Generation Issue

2016-01-20 Thread David Morsberger
> On Jan 19, 2016, at 10:11 PM, Eric Wing wrote: > > On 1/19/16, David Morsberger wrote: >> Any help would be appreciated. >> >> In particular I’d like to know how the default compiler arguments are set >> when ‘cmake -G Xcode’ is executed. The attached file contains the cmake test >> compile

Re: [CMake] XCode Generation Issue

2016-01-19 Thread Eric Wing
On 1/19/16, David Morsberger wrote: > Any help would be appreciated. > > In particular I’d like to know how the default compiler arguments are set > when ‘cmake -G Xcode’ is executed. The attached file contains the cmake test > compile extracted and reformatted from CMakeOutput.log that should hav

Re: [CMake] XCode Generation Issue

2016-01-19 Thread David Morsberger
Any help would be appreciated. In particular I’d like to know how the default compiler arguments are set when ‘cmake -G Xcode’ is executed. The attached file contains the cmake test compile extracted and reformatted from CMakeOutput.log that should have failed. Again, what is setting all the clang

[CMake] XCode Generation Issue

2016-01-18 Thread David Morsberger
I’m having an issue generating and using a XCode project using cmake -G. cmake —version cmake version 3.4.1 Xcode Version 7.2 (7C68) Mac OS 10.11. My CMakeLists.txt has a clang option that fails during the -G Xcode pass but fails when linking within XCode. The compiler / linker option is