Re: [CMake] Adding install dependency to test-target?

2009-01-30 Thread Aaron Turner
On Fri, Jan 30, 2009 at 3:00 AM, Hugo Heden wrote: > Try using quotes: > > SET_DIRECTORY_PROPERTIES(PROPERTIES > ADDITIONAL_MAKE_CLEAN_FILES "${extra_libopts_clean_files}" ) Thanks! That solved my problem. >> And >> If I specify each file individually, it appears that only the last >> tak

Re: [CMake] Adding install dependency to test-target?

2009-01-30 Thread Hugo Heden
> > If I do this: > >LIST(APPEND extra_libopts_clean_files >./libopts/.libs/libopts.o >./libopts/.libs/libopts.la >./libopts/.libs >./libopts/_libs >./libopts/libopts.la >./libopts/so_locations >./libopts/*.o >./libopts/*.lo >)

Re: [CMake] Adding install dependency to test-target?

2009-01-29 Thread Aaron Turner
On Thu, Jan 29, 2009 at 12:37 PM, Alexander Neundorf wrote: > Yes, that doesn't work. "clean", "all", "install" are a special kind of target > in cmake, i.e. they are not really targets, they are only created when the > project files/makefiles are written. > > You could add a second COMMAND to th

Re: [CMake] Adding install dependency to test-target?

2009-01-29 Thread Alexander Neundorf
On Thursday 29 January 2009, Aaron Turner wrote: > On Thu, Jan 29, 2009 at 7:43 AM, Hugo Heden wrote: > > 2008/11/20 Eric Noulard : > >> 2008/11/20 Hugo Heden : > >>> Good day all, > >>> > >>> > >>> Is there any way that I can add 'install' dependency to the > >>> 'test'-target? > >>> > >>> Doing

Re: [CMake] Adding install dependency to test-target?

2009-01-29 Thread Michael Jackson
You probably want to investigate "ADDITIONAL_MAKE_CLEAN_FILES" property. _ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Softwarewww.bluequartz.net Principal Software Engineer Dayton

Re: [CMake] Adding install dependency to test-target?

2009-01-29 Thread Aaron Turner
On Thu, Jan 29, 2009 at 7:43 AM, Hugo Heden wrote: > 2008/11/20 Eric Noulard : >> 2008/11/20 Hugo Heden : >>> Good day all, >>> >>> >>> Is there any way that I can add 'install' dependency to the 'test'-target? >>> >>> Doing >>> >>> add_dependencies( test install ) >>> >>> does not seem to work:

Re: [CMake] Adding install dependency to test-target?

2009-01-29 Thread Hugo Heden
2008/11/20 Eric Noulard : > 2008/11/20 Hugo Heden : >> Good day all, >> >> >> Is there any way that I can add 'install' dependency to the 'test'-target? >> >> Doing >> >> add_dependencies( test install ) >> >> does not seem to work: >> CMake Error at ... (ADD_DEPENDENCIES): >> add_dependencie

Re: [CMake] Adding install dependency to test-target?

2008-11-21 Thread Jan Wurster
Hi Hugo, > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Hugo Heden > Sent: Thursday, November 20, 2008 10:51 AM > Is there any way that I can add 'install' dependency to the 'test'- > target? Maybe it isn't relevant to your specific needs - but I

Re: [CMake] Adding install dependency to test-target?

2008-11-20 Thread Hugo Heden
Eric Noulard wrote: Good day all, Is there any way that I can add 'install' dependency to the 'test'-target? Doing add_dependencies( test install ) does not seem to work: CMake Error at ... (ADD_DEPENDENCIES): add_dependencies Adding dependency to non-existent target: test May b

Re: [CMake] Adding install dependency to test-target?

2008-11-20 Thread Eric Noulard
2008/11/20 Hugo Heden <[EMAIL PROTECTED]>: > Good day all, > > > Is there any way that I can add 'install' dependency to the 'test'-target? > > Doing > > add_dependencies( test install ) > > does not seem to work: > CMake Error at ... (ADD_DEPENDENCIES): > add_dependencies Adding dependency t

[CMake] Adding install dependency to test-target?

2008-11-20 Thread Hugo Heden
Good day all, Is there any way that I can add 'install' dependency to the 'test'-target? Doing add_dependencies( test install ) does not seem to work: CMake Error at ... (ADD_DEPENDENCIES): add_dependencies Adding dependency to non-existent target: test Apparently neither 'test' nor