Re: [CMake] debug/optimized include directories

2012-01-25 Thread Robert Dailey
I'd like to get an overall update on the plans for this from the kitware guys, as well as propose an extension to this feature. Honestly I think the exact facilities we have now for libs we should have for source directories. This includes: - debug/release configurations for include directories -

Re: [CMake] debug/optimized include directories

2011-11-07 Thread Michael Hertling
On 11/06/2011 09:27 AM, Michael Wild wrote: > On 11/05/2011 09:59 PM, Michael Hertling wrote: >> On 11/02/2011 05:36 PM, Michael Wild wrote: >>> Thanks ;-) >>> >>> Michael >> >> Just an additional remark: Instead of generating the proxy headers >> in CMakeLists.txt, i.e. at configuration time, one

Re: [CMake] debug/optimized include directories

2011-11-07 Thread David Cole
I think the main use case for saying non-additive would be useful is: Having several targets in a given directory, most of which simply use the directory's property value, which contains several include directories. Now... have one target where you want to restrict the include_directories to a sin

Re: [CMake] debug/optimized include directories

2011-11-07 Thread Robert Dailey
How would it not be additive? get_target_property() for INCLUDE_DIRECTORIES would return target includes + directory includes (that apply to that target, transitively) I don't know if preprocessor definitions follow this but this is the behavior I would expect. - Robert Dailey On Mon,

Re: [CMake] debug/optimized include directories

2011-11-07 Thread Alexander Neundorf
On Friday 04 November 2011, David Cole wrote: > On Wed, Nov 2, 2011 at 8:30 PM, Stephen Kelly wrote: > > David Cole wrote: > >> On Tue, Nov 1, 2011 at 4:33 PM, Robert Dailey > >> > >> wrote: > >>> On Tue, Nov 1, 2011 at 3:32 PM, David Cole > >>> > >>> wrote: > Not yet > >>> > >>> Meaning

Re: [CMake] debug/optimized include directories

2011-11-06 Thread Alexander Neundorf
On Friday 04 November 2011, David Cole wrote: > On Fri, Nov 4, 2011 at 12:23 PM, Alexander Neundorf > wrote: ... > > Looks like the first step to assigning include directories to libraries, > > so they are used automatically when linking against them. > > Is this also already in planning ? > > >

Re: [CMake] debug/optimized include directories

2011-11-06 Thread Michael Wild
On 11/05/2011 09:59 PM, Michael Hertling wrote: > On 11/02/2011 05:36 PM, Michael Wild wrote: >> Thanks ;-) >> >> Michael > > Just an additional remark: Instead of generating the proxy headers > in CMakeLists.txt, i.e. at configuration time, one might also have > them generated by a custom command

Re: [CMake] debug/optimized include directories

2011-11-05 Thread Michael Hertling
On 11/02/2011 05:36 PM, Michael Wild wrote: > Thanks ;-) > > Michael Just an additional remark: Instead of generating the proxy headers in CMakeLists.txt, i.e. at configuration time, one might also have them generated by a custom command, i.e. at build time, which has the $ expression available.

Re: [CMake] debug/optimized include directories

2011-11-04 Thread David Cole
On Fri, Nov 4, 2011 at 12:23 PM, Alexander Neundorf wrote: > On Friday 04 November 2011, David Cole wrote: >> On Wed, Nov 2, 2011 at 8:30 PM, Stephen Kelly wrote: >> > David Cole wrote: >> >> On Tue, Nov 1, 2011 at 4:33 PM, Robert Dailey >> >> >> >> wrote: >> >>> On Tue, Nov 1, 2011 at 3:32 PM,

Re: [CMake] debug/optimized include directories

2011-11-04 Thread Alexander Neundorf
On Friday 04 November 2011, David Cole wrote: > On Wed, Nov 2, 2011 at 8:30 PM, Stephen Kelly wrote: > > David Cole wrote: > >> On Tue, Nov 1, 2011 at 4:33 PM, Robert Dailey > >> > >> wrote: > >>> On Tue, Nov 1, 2011 at 3:32 PM, David Cole > >>> > >>> wrote: > Not yet > >>> > >>> Meaning

Re: [CMake] debug/optimized include directories

2011-11-04 Thread Marcus D. Hanwell
On Fri, Nov 4, 2011 at 11:16 AM, Robert Dailey wrote: > David, > There is a directory-level property for preprocessor definitions too, right? > So how do the target properties for preprocessor definitions handle those? I > think they are additive aren't they? > I would expect the include directori

Re: [CMake] debug/optimized include directories

2011-11-04 Thread Robert Dailey
David, There is a directory-level property for preprocessor definitions too, right? So how do the target properties for preprocessor definitions handle those? I think they are additive aren't they? I would expect the include directories to be additive too. - Robert Dailey On Fri, Nov 4

Re: [CMake] debug/optimized include directories

2011-11-04 Thread David Cole
On Wed, Nov 2, 2011 at 8:30 PM, Stephen Kelly wrote: > David Cole wrote: > >> On Tue, Nov 1, 2011 at 4:33 PM, Robert Dailey >> wrote: >>> On Tue, Nov 1, 2011 at 3:32 PM, David Cole >>> wrote: Not yet >>> >>> Meaning there are plans in the works to add such functionality in the >>> near

Re: [CMake] debug/optimized include directories

2011-11-03 Thread Robert Dailey
Thanks for volunteering for this! - Robert Dailey On Wed, Nov 2, 2011 at 7:30 PM, Stephen Kelly wrote: > David Cole wrote: > > > On Tue, Nov 1, 2011 at 4:33 PM, Robert Dailey > > wrote: > >> On Tue, Nov 1, 2011 at 3:32 PM, David Cole > >> wrote: > >>> > >>> Not yet > >> > >> Meaning

Re: [CMake] debug/optimized include directories

2011-11-02 Thread Stephen Kelly
David Cole wrote: > On Tue, Nov 1, 2011 at 4:33 PM, Robert Dailey > wrote: >> On Tue, Nov 1, 2011 at 3:32 PM, David Cole >> wrote: >>> >>> Not yet >> >> Meaning there are plans in the works to add such functionality in the >> near future? >> For now I guess I could actually hard code VS environm

Re: [CMake] debug/optimized include directories

2011-11-02 Thread Michael Wild
Thanks ;-) Michael On 11/02/2011 05:33 PM, Robert Dailey wrote: > Awesome idea, +1 > > This is probably the best work-around until includes get a target property. > > - > Robert Dailey > > > On Wed, Nov 2, 2011 at 2:43 AM, Michael Wild > wrote: > > On 1

Re: [CMake] debug/optimized include directories

2011-11-02 Thread Robert Dailey
Awesome idea, +1 This is probably the best work-around until includes get a target property. - Robert Dailey On Wed, Nov 2, 2011 at 2:43 AM, Michael Wild wrote: > On 11/01/2011 09:49 PM, Robert Dailey wrote: > > Well if you need any help coding the feature let me know. I'm already > >

Re: [CMake] debug/optimized include directories

2011-11-02 Thread Michael Wild
On 11/01/2011 09:49 PM, Robert Dailey wrote: > Well if you need any help coding the feature let me know. I'm already > liking the idea of adding features I want myself into CMake :) > > Thanks! > > - > Robert Dailey > > > On Tue, Nov 1, 2011 at 3:47 PM, David Cole

Re: [CMake] debug/optimized include directories

2011-11-01 Thread Robert Dailey
Well if you need any help coding the feature let me know. I'm already liking the idea of adding features I want myself into CMake :) Thanks! - Robert Dailey On Tue, Nov 1, 2011 at 3:47 PM, David Cole wrote: > On Tue, Nov 1, 2011 at 4:33 PM, Robert Dailey wrote: > > On Tue, Nov 1, 201

Re: [CMake] debug/optimized include directories

2011-11-01 Thread David Cole
On Tue, Nov 1, 2011 at 4:33 PM, Robert Dailey wrote: > On Tue, Nov 1, 2011 at 3:32 PM, David Cole wrote: >> >> Not yet > > Meaning there are plans in the works to add such functionality in the near > future? > For now I guess I could actually hard code VS environment variables in my > include dir

Re: [CMake] debug/optimized include directories

2011-11-01 Thread Robert Dailey
On Tue, Nov 1, 2011 at 3:32 PM, David Cole wrote: > Not yet Meaning there are plans in the works to add such functionality in the near future? For now I guess I could actually hard code VS environment variables in my include directory strings, such as $(Configuration). -- Powered by www.kitwa

Re: [CMake] debug/optimized include directories

2011-11-01 Thread David Cole
Not yet On Tue, Nov 1, 2011 at 4:30 PM, Robert Dailey wrote: > When generating for Visual Studio, is there a way to make projects in debug > configuration have a different set of include directories from the release > configuration? > > - > Robert Dailey > > -- > > Powered by www.kitware.

[CMake] debug/optimized include directories

2011-11-01 Thread Robert Dailey
When generating for Visual Studio, is there a way to make projects in debug configuration have a different set of include directories from the release configuration? - Robert Dailey -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensour