On Wed, May 13, 2009 at 8:50 AM, <david.k...@l-3com.com> wrote: > Olivier Delannoy <olivier.delan...@gmail.com> wrote: >> I would like to set include_directories on a per target basis. I >> understand that the INCLUDE_DIRECTORIES property is currently on a per >> folder basis. It is a bit of a problem as I would like to flatten my >> build and have all my targets generated in a single destination >> folder. Is there any way to achieve this currently? > > The "per folder" basis refers to the source directories or folders. You > don't need to flatten the entire source of your project in order to put > the built libraries and executables in one directory. Instead, direct > the output of each target to the common directory.
That would be my suggestion as I have spent a lot of time taking flat src structures and making folders so I can organize my code.. John _______________________________________________ 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