Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How Can I create a Cmake file from existing visual studio CPP project?

Tags:

I am dealing with relatively big visual studio CPP project (we implemented this project from scratch in windows environment). Now, I have to compile this project in Linux environment. But, I have no idea How I can create a Cmake file from this visual studio project . Is there any straight forward solution?

Thank you

like image 485
user1538653 Avatar asked Nov 28 '18 20:11

user1538653


1 Answers

It would be a great tool if it was possible to convert MSVS project to cmake in Linux environment, but unfortunately I also didn't find such a tool.

However, you can convert VS solution to CMakeLists.txt. You can try this or that tools or some others, but then you need to redesign it.

like image 185
mr NAE Avatar answered Oct 16 '22 16:10

mr NAE