It is in my todo list to try to find out a way to add this feature to Ninja. I'll let you know once I have something. Meanwhile, I haven't seen any post about this on the ninja-build mailing list so far.
Cheers, -Nico On Tue, Apr 10, 2012 at 7:16 PM, Malfettone, Kris <[email protected]> wrote: > Just checking in to see if anyone has any insight into this since I have not > heard back a response. > > -Kris > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of > Malfettone, Kris > Sent: Wednesday, February 22, 2012 6:45 PM > To: Peter Collingbourne; Clifford Yapp > Cc: CMake List > Subject: Re: [CMake] CMake + Ninja > > I was wondering if there was any plans to add the feature mentioned below? > That said, a way of saying "build every target in this subdirectory" > (for example, by specifying that subdirectory as a target on the > command line) would be a nice feature to have. > > This would be very useful to me and I haven't heard any more mentions about > it here on the mailing list. > > -Kris > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of > Peter Collingbourne > Sent: Tuesday, January 10, 2012 12:03 AM > To: Clifford Yapp > Cc: CMake List > Subject: Re: [CMake] CMake + Ninja > > On Fri, Jan 06, 2012 at 02:08:24PM -0500, Clifford Yapp wrote: >> Peter, >> >> FYI, I'm seeing a problem with the BRL-CAD build on the Mac with CMake >> + ninja using the latest git versions - when I try to run tclsh, I get >> a problem with it trying to link >> TARGET_INSTALLNAME_DIRlibtcl.8.5.dylib instead of the local >> libtcl.8.5.dylib in the build directory. This doesn't seem to happen >> on Linux. > > Hi Clifford, > > The attached patch should add support for TARGET_INSTALLNAME_DIR. > Please let me know if it works -- it's untested, as I don't have easy access > to a Mac. > >> Also, a question - is it in the plans longer term to add build.ninja >> files in subdirectories, so I can cd into a subdirectory and build >> just what's required for that directory (i.e. like make)? Or is ninja >> a "toplevel-only" setup? > > Ninja doesn't work that way. You can of course list specific targets to > build on the command line. > > That said, a way of saying "build every target in this subdirectory" > (for example, by specifying that subdirectory as a target on the command > line) would be a nice feature to have. > > Thanks, > -- > Peter > > ________________________________ > > IMPORTANT: The information contained in this email and/or its attachments is > confidential. If you are not the intended recipient, please notify the sender > immediately by reply and immediately delete this message and all its > attachments. Any review, use, reproduction, disclosure or dissemination of > this message or any attachment by an unintended recipient is strictly > prohibited. Neither this message nor any attachment is intended as or should > be construed as an offer, solicitation or recommendation to buy or sell any > security or other financial instrument. Neither the sender, his or her > employer nor any of their respective affiliates makes any warranties as to > the completeness or accuracy of any of the information contained herein or > that this message or any of its attachments is free of viruses. > -- > > 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 > > ________________________________ > > IMPORTANT: The information contained in this email and/or its attachments is > confidential. If you are not the intended recipient, please notify the sender > immediately by reply and immediately delete this message and all its > attachments. Any review, use, reproduction, disclosure or dissemination of > this message or any attachment by an unintended recipient is strictly > prohibited. Neither this message nor any attachment is intended as or should > be construed as an offer, solicitation or recommendation to buy or sell any > security or other financial instrument. Neither the sender, his or her > employer nor any of their respective affiliates makes any warranties as to > the completeness or accuracy of any of the information contained herein or > that this message or any of its attachments is free of viruses. > -- > > 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 -- Nicolas Desprès -- 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
