RE: [CMake] Creating a visual studio project with non .cpp or .h files in it.

2007-12-06 Thread Josef Karthauser
> -Original Message- > From: Bill Hoffman [mailto:[EMAIL PROTECTED] > Sent: 06 December 2007 13:23 > To: Josef Karthauser > Cc: Sylvain Benner; CMake ML > Subject: Re: [CMake] Creating a visual studio project with non .cpp or > .h files in it. > > Josef Kartha

Re: [CMake] Creating a visual studio project with non .cpp or .h files in it.

2007-12-06 Thread Bill Hoffman
Josef Karthauser wrote: It would be useful if there was a standard way of doing this within CMake; maybe there is in 2.6? Anyway, I boiled your ideas down into a single 'ADD_DOCUMENTATION()' command - see attached patch to 2.4.7. It should probably be called ADD_AUX_FILE() or something though,

RE: [CMake] Creating a visual studio project with non .cpp or .h files in it.

2007-12-06 Thread Josef Karthauser
ject: Re: [CMake] Creating a visual studio project with non .cpp or > .h files in it. > > Here is a missing function body added to cmMakeFile. > I would be glad to hear from the CMake makers of any issues using this > hack, thank you. > > cmTarget* cmM

Re: [CMake] Creating a visual studio project with non .cpp or .h files in it.

2007-12-05 Thread Sylvain Benner
Here is a missing function body added to cmMakeFile. I would be glad to hear from the CMake makers of any issues using this hack, thank you. cmTarget* cmMakefile::AddGlobalTargetMP(const char *targetName, const std::vector &srcs) { cmTarget target; tar

Re: [CMake] Creating a visual studio project with non .cpp or .h files in it.

2007-12-05 Thread Sylvain Benner
Does anyone know the answer to this? We have a solution but it requires to modify CMake source code. We are using a custom ADD_TARGET command, I attached it to this post. The idea is to add a new keyword "Documentation" as opposed to Executable, Shared and Static. This keyword set the target t

RE: [CMake] Creating a visual studio project with non .cpp or .h files in it.

2007-12-05 Thread Josef Karthauser
Does anyone know the answer to this? I'd love you forever :) Joe > -Original Message- > From: Josef Karthauser > Sent: 04 December 2007 14:23 > To: Josef Karthauser; Joshua Jensen; Philip Lowman > Cc: CMake ML > Subject: RE: [CMake] Creating a visual studio p

RE: [CMake] Creating a visual studio project with non .cpp or .h files in it.

2007-12-04 Thread Josef Karthauser
Hi folks, I'm still trying to solve this one - alas it's alluding me. I want to create a visual studio project file which only has non-compiling files in it, for instance CMake macro files or documentation. This I want so that people can easily edit them from within visual studio. I can't work