Re: [CMake] xcode project and static library dependencies

2011-01-18 Thread Bill Hoffman
On 1/18/2011 2:40 PM, Brad King wrote: On 1/18/2011 2:12 PM, Nick Kledzik wrote: When I use cmake to create a Makefile, the resulting main executable is placed in the build directory tree next to the Makefile. This is where CMake puts files in single-configuration generators. When I use cmak

Re: [CMake] xcode project and static library dependencies

2011-01-18 Thread Brad King
On 1/18/2011 2:12 PM, Nick Kledzik wrote: > When I use cmake to create a Makefile, the resulting main executable > is placed in the build directory tree next to the Makefile. This is where CMake puts files in single-configuration generators. > When I use cmake to create a xcode project, the resul

Re: [CMake] xcode project and static library dependencies

2011-01-18 Thread David Cole
On Tue, Jan 18, 2011 at 2:30 PM, Nick Kledzik wrote: > > On Jan 18, 2011, at 11:23 AM, David Cole wrote: > > > >> > That is not entirely true >> > >> > Things like EXECUTABLE_OUTPUT_PATH and target location properties have >> > to work without an extra install step. What do you mean CMake exp

Re: [CMake] xcode project and static library dependencies

2011-01-18 Thread Nick Kledzik
On Jan 18, 2011, at 11:23 AM, David Cole wrote: > > > > That is not entirely true > > > > Things like EXECUTABLE_OUTPUT_PATH and target location properties have > > to work without an extra install step. What do you mean CMake expects > > to find things in install locations? CMake does need t

Re: [CMake] xcode project and static library dependencies

2011-01-18 Thread David Cole
On Tue, Jan 18, 2011 at 2:12 PM, Nick Kledzik wrote: > On Jan 18, 2011, at 5:30 AM, Bill Hoffman wrote: > >>> I have changes that cause cmake to produce an Xcode project in which > the > >>> targets do not have the extra phases, and the dependencies are set up > such > >>> that incremental builds

Re: [CMake] xcode project and static library dependencies

2011-01-18 Thread Nick Kledzik
On Jan 18, 2011, at 5:30 AM, Bill Hoffman wrote: >>> I have changes that cause cmake to produce an Xcode project in which the >>> targets do not have the extra phases, and the dependencies are set up such >>> that incremental builds work efficiently! >>> >>> But I'm having some impedance mismatche

Re: [CMake] xcode project and static library dependencies

2011-01-18 Thread David Cole
Clarification: I was referring to intermediate build product files, not final libraries and executables. For the most part, nobody should care where their intermediate files are as long as everything works. Sorry for the mis-communication. On Tue, Jan 18, 2011 at 8:30 AM, Bill Hoffman wrote: >

Re: [CMake] xcode project and static library dependencies

2011-01-18 Thread Bill Hoffman
>> I have changes that cause cmake to produce an Xcode project in which the >> targets do not have the extra phases, and the dependencies are set up such >> that incremental builds work efficiently! >> >> But I'm having some impedance mismatches between where Xcode want the >> build results to be a

Re: [CMake] xcode project and static library dependencies

2011-01-18 Thread David Cole
On Mon, Jan 17, 2011 at 9:02 PM, Nick Kledzik wrote: > On Jan 13, 2011, at 1:57 PM, Bill Hoffman wrote: > > On 1/13/2011 4:49 PM, Nick Kledzik wrote: > >> On Jan 13, 2011, at 12:41 PM, Bill Hoffman wrote: > >>> This is because Xcode provides no way to order static libraries as > >>> far as I can

Re: [CMake] xcode project and static library dependencies

2011-01-17 Thread Nick Kledzik
On Jan 13, 2011, at 1:57 PM, Bill Hoffman wrote: > On 1/13/2011 4:49 PM, Nick Kledzik wrote: >> On Jan 13, 2011, at 12:41 PM, Bill Hoffman wrote: >>> This is because Xcode provides no way to order static libraries as >>> far as I can tell, or to repeat them. Also, no way to depend on a >>> static

Re: [CMake] xcode project and static library dependencies

2011-01-13 Thread Bill Hoffman
On 1/13/2011 4:49 PM, Nick Kledzik wrote: On Jan 13, 2011, at 12:41 PM, Bill Hoffman wrote: This is because Xcode provides no way to order static libraries as far as I can tell, or to repeat them. Also, no way to depend on a static library or a file directly, forcing the makefile usage. This m

Re: [CMake] xcode project and static library dependencies

2011-01-13 Thread Nick Kledzik
On Jan 13, 2011, at 12:41 PM, Bill Hoffman wrote: > This is because Xcode provides no way to order static libraries as far as I > can tell, or to repeat them. Also, no way to depend on a static library or > a file directly, forcing the makefile usage. This may have changed, so, if > you can s

Re: [CMake] xcode project and static library dependencies

2011-01-13 Thread Bill Hoffman
On 1/13/2011 3:16 PM, Nick Kledzik wrote: I'm a long time Xcode user and recently used cmake to create an Xcode project for LLVM. I really like the idea the CMake can produce native projects for different platforms, but in my case, the resulting xcode project was very slow to use. To investiga

[CMake] xcode project and static library dependencies

2011-01-13 Thread Nick Kledzik
I'm a long time Xcode user and recently used cmake to create an Xcode project for LLVM. I really like the idea the CMake can produce native projects for different platforms, but in my case, the resulting xcode project was very slow to use. To investigate, I created a small cmake example proj