title: Xcode 3.1.1 and static libraries
body: <p>I'm an experienced VS.NET user and trying to get up and running on Xcode 3.1.1.<br>
  Here's what I'm trying to accomplish:</p>
  
  <p>I'd like a static library ("Lib") to have its own xcodeproj file.  I'd an executable application ("App") that makes use of Lib to reference Lib's xcodeproj file so that changes to Lib cause App to relink.  Ideally, I'd like to be able to edit Lib's source files inside App's Xcode workspace so I don't have to task around all the time to make changes.</p>
  
  <p>I figured out from the online help that I can simply drag the static lib xcodeproj in to my app's project and it gets the reference.  I see that once my static lib xcodeproj is in my app's project, I can simply drag it to the App's target and it understands that App depends on Lib.  This seems like the right path, but things aren't quite working the way I'd like yet.</p>
  
  <p>Here are my questions:</p>
  
  <ol>
  <li><p>It seems that simply having App depend on Lib doesn't cause App to link with Lib.  It seems that I have to explicitly drag libLib.a from the Lib folder into App's "Link Binary With Libraries" build stage.  In VS.NET, simply specifying the project as a solution dependency adds it to the link line.  I just want to make sure I'm not missing anything.</p></li>
  <li><p>When I have App open in Xcode and I drag Lib.xcodeproj into it, I don't get any of Lib's source files there.  I only get libLib.a under the "Lib.xcodeproj" folder.  In VS.NET, I can edit Lib's source files right there and rebuild it, etc... but with this approach in Xcode, changes to Lib.cpp don't cause Lib to rebuild when I rebuild App.  Ideally, I'd get all of Lib's source files and targets to show up when I drag Lib.xcodeproj into App.  Is there any way of doing this?</p></li>
  </ol>
  
  <p>Thanks in advance for any responses!</p>