Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cross-platform compiling with Visual Studio Projects files

I have Visual Studio projects that I would like to compile on Linux and MAC.

I start looking for cross-platform build systems. Most of them require to write a build script from scratch. Others generate projects files... The problem is that I feel more confortable with editing vcproj files instead of associated build scripts.

Is there any tool that could take a vcproj files as input to perform cross-platform compilation on Linux and MAC?

Best regards.

like image 520
Korchkidu Avatar asked Apr 28 '26 16:04

Korchkidu


1 Answers

Write your own CMake files to build the project. This will allow you greater control over the compilation process, and this is a requirement to build cross-platform solutions.

CMake is very used and well documented.

like image 113
karlphillip Avatar answered May 02 '26 04:05

karlphillip