I am migrating my system from windows to Linux, and now want cmakefile.txt to be generated automatically for my source code, can I use the tool for the same

I am migrating my project from windows to Linux and want cmakefile
.text to be generated automatically can I use cmake in any way. For the existing projects

What build system do the existing projects use?

Visual studio 2015, I am using

I would take the CMakeLists.txt that you’re using with visual studio and put it at the top level of the repository, and then edit it to be more general and not visual studio specific. There’s not an automatic tool to do this.

@scivision I guess he’s looking for a “VS project to CMake converter”.