There are no standard project template defined by ISO C++ so I created one. It started out as a playground for my personal use. But later I decided to open it to the public so I could help others create C++ projects easily.
- Install GCC or Clang.
- Install clangd and CMake.
- Install MSYS2.
- In MSYS2 terminal, perform an update with
pacman -Syu
. - Restart MSYS2.
- Install required packages with
pacman -S mingw-w64-clang-x86_64-clang mingw-w64-clang-x86_64-clang-tools-extra mingw-w64-clang-x86_64-cmake
. - Add
C:\msys64\clang64\bin
to Path environment variable.
- Finish platform-specific setup.
- Install Rust.
- Install Nushell.
- (Optional) Install VSCodium with clangd and CMake extensions.
- Launch Nushell in terminal with
nu
. - Set environment with
source-env env.nu
. - Compile with
nu compile.nu
. - Run
playground
.
- Clean build files and targets with
nu clean.nu
.