Re: [CMake] visual studio converter?

2007-06-12 Thread Alexander Neundorf
Hi Jesper,

On Thursday 07 June 2007 08:38, Jesper Eskilson wrote:
...
 I've written a simple hack in Ruby which extracts the most vital parts of a
 .vcproj file and generates a corresponding CMakeLists.txt. There are a lot
 of things it doesn't handle (custom build steps, multiple configurations,
 etc.), but its a good starting point.

 Feel free to use it; but I make no guarantees. It shouldn't wipe your
 harddrive, though. I hope. ;-)

can you please put this converter or a link to it in the cmake wiki ?
It should go in this section:
http://www.cmake.org/Wiki/CMake#Converters_from_other_buildsystems_to_CMake

Thanks
Alex
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] visual studio converter?

2007-06-12 Thread Jesper Eskilson

2007/6/12, Alexander Neundorf [EMAIL PROTECTED]:

Hi Jesper,

On Thursday 07 June 2007 08:38, Jesper Eskilson wrote:
...
 I've written a simple hack in Ruby which extracts the most vital parts of a
 .vcproj file and generates a corresponding CMakeLists.txt. There are a lot
 of things it doesn't handle (custom build steps, multiple configurations,
 etc.), but its a good starting point.

 Feel free to use it; but I make no guarantees. It shouldn't wipe your
 harddrive, though. I hope. ;-)

can you please put this converter or a link to it in the cmake wiki ?
It should go in this section:
http://www.cmake.org/Wiki/CMake#Converters_from_other_buildsystems_to_CMake


Done.

--
/Jesper
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] visual studio converter?

2007-06-07 Thread Jesper Eskilson

2007/6/6, Sylvain Benner [EMAIL PROTECTED]:


Jon W a écrit :
 Are there any tools available to convert Visual Studio files to
 cmakelists.txt?  I have hundreds of vcproj files and this would help
 make the conversion to cmake easier.
I don't know if there are some tools to do this. If you don't find any
tool and you have some knowledge about jscript you can do a customized
wizard for Visual Studio; it's pretty quick to do.
In VS2005, to create a new custom wizard:
File - New - Project
In General section choose Custom Wizard.



I've written a simple hack in Ruby which extracts the most vital parts of a
.vcproj file and generates a corresponding CMakeLists.txt. There are a lot
of things it doesn't handle (custom build steps, multiple configurations,
etc.), but its a good starting point.

Feel free to use it; but I make no guarantees. It shouldn't wipe your
harddrive, though. I hope. ;-)

--
/Jesper


vcproj2cmake.rb
Description: Binary data
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] visual studio converter?

2007-06-06 Thread Sylvain Benner

Jon W a écrit :

Are there any tools available to convert Visual Studio files to
cmakelists.txt?  I have hundreds of vcproj files and this would help
make the conversion to cmake easier.
I don't know if there are some tools to do this. If you don't find any 
tool and you have some knowledge about jscript you can do a customized 
wizard for Visual Studio; it's pretty quick to do.

In VS2005, to create a new custom wizard:
File - New - Project
In General section choose Custom Wizard.

Cheers.

-Sylvain

___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] visual studio converter?

2007-06-05 Thread Brandon Van Every

On 6/5/07, Jon W [EMAIL PROTECTED] wrote:

Are there any tools available to convert Visual Studio files to
cmakelists.txt?  I have hundreds of vcproj files and this would help
make the conversion to cmake easier.


I don't know of any.  Maybe someone has some homebrew.  What is
driving the need for such large scale conversion?  You porting a big
project to another platform?

Cheers,
Brandon Van Every
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] visual studio converter?

2007-06-05 Thread Jon W

On 6/5/07, Brandon Van Every [EMAIL PROTECTED] wrote:

On 6/5/07, Jon W [EMAIL PROTECTED] wrote:
 Are there any tools available to convert Visual Studio files to
 cmakelists.txt?  I have hundreds of vcproj files and this would help
 make the conversion to cmake easier.

I don't know of any.  Maybe someone has some homebrew.  What is
driving the need for such large scale conversion?  You porting a big
project to another platform?


Hi Brandon.

Yes, I am looking at porting a windows app to *nix, and with 10,000
files a conversion tool would be helpful.  Hopefully there are some
conversion related tools or ideas.

Thanks,
Jon
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] visual studio converter?

2007-06-05 Thread Brandon Van Every

On 6/5/07, Jon W [EMAIL PROTECTED] wrote:

On 6/5/07, Brandon Van Every [EMAIL PROTECTED] wrote:
 On 6/5/07, Jon W [EMAIL PROTECTED] wrote:
  Are there any tools available to convert Visual Studio files to
  cmakelists.txt?  I have hundreds of vcproj files and this would help
  make the conversion to cmake easier.

 I don't know of any.  Maybe someone has some homebrew.  What is
 driving the need for such large scale conversion?  You porting a big
 project to another platform?

Hi Brandon.

Yes, I am looking at porting a windows app to *nix, and with 10,000
files a conversion tool would be helpful.  Hopefully there are some
conversion related tools or ideas.


Do those .proj files have a lot of tweaky project specific options set
in them?  Or are they sorta generic compile and link this kind of
stuff?  If the latter, you could do some kind of simple scripting to
generate most of your CMake framework.  It would be a pretty redundant
problem.  Don't really need to convert those, just create them with
whatever you like to script in.  Then throw the script away when
you've done it.


Cheers,
Brandon Van Every
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake