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

Attachment: vcproj2cmake.rb
Description: Binary data

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

Reply via email to