Search code examples
c++build-processbuild-automationcross-compiling

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.


Solution

  • 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.