Developed a Visual Studio (2012) C ++ project and wondered what would be the most convenient way to copy it to Linux so that I can recompile the whole project there? Assume C ++ is platform independent.
Will there be a case of copying all the .h and .cpp files manually into one folder, copy this folder to Linux and then somehow create a script (makefile?) That will control how the files are compiled? I'm not too sure that the makefile is what I need - but is there any mechanism so that I can compile the entire project from one command on the terminal?
. \r\n → \n .cpp .h .
\r\n
\n
Linux raw make. make - ; makefile , .
make
makefile
, (, @MSalters - ), .vcxproj Linux. , Visual Studio - make .
Makefile - ( ) . , , , MSBuild .sln.
, , Linux - CMake, makefile, .
- , VS make , VS2012 ( , )