Re: [CMake] Obtaining improved GNU make performance on Makefiles generated by cmake

2008-03-17 Thread Bill Hoffman
Alan W. Irwin wrote: The GNU make documentation states the following: Since it knows that phony targets do not name actual files that could be remade from other files, make skips the implicit rule search for phony targets This is why declaring a target phony is good for [make] pe

[CMake] embed version numbers in libraries (.so, a) and executables

2008-03-17 Thread Ittay Dror
Hi, Does cmake have support for embedding version numbers in libraries and executables? Specifically: * generate a string with the library / executable name, containing the version * allow nightly builds to add build number * add checksum (sha1) to uniquely identify a the library / executable

[CMake] Obtaining improved GNU make performance on Makefiles generated by cmake

2008-03-17 Thread Alan W. Irwin
The GNU make documentation states the following: Since it knows that phony targets do not name actual files that could be remade from other files, make skips the implicit rule search for phony targets This is why declaring a target phony is good for [make] performance Also,

Re: [CMake] cmake on open solaris

2008-03-17 Thread Matthew Woehlke
Bill Hoffman wrote: Matthew Woehlke wrote: Tavitayya Varanasi wrote: SUN is planing to port cmake on Indiana ( a version of open solaris ). There is porting to be done? Hmm... I successfully built and tested cmake 2.4.8 on Solaris 10/x86... I admit I haven't actually *used* that build,

Re: [CMake] cmake on open solaris

2008-03-17 Thread Bill Hoffman
Matthew Woehlke wrote: Tavitayya Varanasi wrote: SUN is planing to port cmake on Indiana ( a version of open solaris ). There is porting to be done? Hmm... I successfully built and tested cmake 2.4.8 on Solaris 10/x86... I admit I haven't actually *used* that build, though I have used 2.

Re: [CMake] cmake on open solaris

2008-03-17 Thread Matthew Woehlke
Tavitayya Varanasi wrote: SUN is planing to port cmake on Indiana ( a version of open solaris ). There is porting to be done? Hmm... I successfully built and tested cmake 2.4.8 on Solaris 10/x86... I admit I haven't actually *used* that build, though I have used 2.4.6 on a different Sun b

Re: [CMake] Batch converting several files

2008-03-17 Thread Andy Lego
Hello Martin, You are missing a ( after the ADD_CUSTOM_COMMAND. Andy On Mon, Mar 17, 2008 at 2:18 PM, Martin Fischer <[EMAIL PROTECTED]> wrote: > Hi Andy, > > it seems I don't understand the direction you are pointing me to. I > used add_custom_command in some occasions. So now I tried: > >

Re: [CMake] Batch converting several files

2008-03-17 Thread Martin Fischer
Hi Andy, it seems I don't understand the direction you are pointing me to. I used add_custom_command in some occasions. So now I tried: FOREACH( FILE ${SOURCEFILES}) ADD_CUSTOM_COMMAND ${FILE}.out COMMAND ${tool_EXE} ${CMAKE_CURRENT_SOURCE_DIR}/${FILE}.in ${CMAKE_CURREN

Re: [CMake] per target flags

2008-03-17 Thread Alexander Neundorf
On Monday 17 March 2008, Egon Kocjan wrote: > On Mon, 2008-03-17 at 02:21 +0100, Pau Garcia i Quiles wrote: > > Quoting Egon Kocjan <[EMAIL PROTECTED]>: > > > Are/will-be there per target commands for adding include directories > > > and preproc. defines? > > > > SET_DIRECTORY_PROPERTIES > > SET_SO

Re: [CMake] per target flags

2008-03-17 Thread Egon Kocjan
On Mon, 2008-03-17 at 02:21 +0100, Pau Garcia i Quiles wrote: > Quoting Egon Kocjan <[EMAIL PROTECTED]>: > > > Are/will-be there per target commands for adding include directories and > > preproc. defines? > > SET_DIRECTORY_PROPERTIES > SET_SOURCE_FILES_PROPERTIES > SET_TARGET_PROPERTIES > > You