Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
cross-platform-cpp-playground
Various dumb experiments with cross-building C++ projects on MSVC, GCC and Clang for Windows and Linux.
https://github.com/yottaawesome/cross-platform-cpp-playground
Last synced: 2 days ago
JSON representation
-
Cross-compiling and building C++ with Visual Studio
-
Building for Linux
- Enable SSH on the VM - p 22 <username>@localhost`.
- Install additional GCC/g++ versions if necessary - 13/g++-13). Update the C++ Compiler option to point to the preferred compiler (and don't forget to change the language standard and enable additional flags like `-fmodules-ts` as appropriate for your compiler).
-
-
Additional resources
-
Building for Linux
- C++ Support in Clang
- Microsoft C/C++ language conformance by Visual Studio version
- CMake's cxxmodules
- Clang Standard C++ Modules
- C++20: Module Support of the Big Three
- Tutorial: Create C++ cross-platform projects in Visual Studio
- C++20: More Details about Module Support of the Big Three
- Walkthrough: Build and debug C++ with WSL 2 and Visual Studio 2022
- C++ Compiler Support - platform code align with your available compilers.
- C++ Standards Support in GCC
- C++ Support in Clang
- Microsoft C/C++ language conformance by Visual Studio version
- CMake's cxxmodules
- Clang Standard C++ Modules
- Clang/LLVM support in Visual Studio projects
-
Sub Categories