TSL_
TSL_

Reputation: 2079

From Visual Studio projects to CMake projects

I have a bunch of projects setup in Visual Studio 2008. However, from what I've done to maintain my code projects, it is not a good way to.

I've known that those projects would be maintained in a much better way with CMake (CMake files) and just the code files (cpp, h).

So... Is there a type of conversion from my Visual Studio project files to CMakeLists.txt and other CMake files neccessary to rebuild my projects? Or I would have to write the CMakeLists.txt and other files for every project again?

Upvotes: 2

Views: 2239

Answers (1)

wojciii
wojciii

Reputation: 4325

I don't think that there is way of automagically converting between VS and CMake.

IMO you should create one project as a template (possibly with macros to do your common tasks) and then convert the rest of your projects when you have one that is working.

Upvotes: 0

Related Questions