brew install cmake
brew install SDL2
brew install SDL2_image
brew install SDL2_ttf
brew install SDL2_mixerbrew install llvm
ln -s "$(brew --prefix llvm)/bin/clang-format" "/usr/local/bin/clang-format"brew install llvm
ln -s "$(brew --prefix llvm)/bin/clang-tidy" "/usr/local/bin/clang-tidy"Via installer https://cmake.org/download/
Note: Builds on Windows require Microsoft Visual C++ Redistributable to run.
mkdir build/
cd build/
cmake ..
cmake --build .Note: To generate DMG files on macOS, first build with cmake, then run
cpack.
mkdir build/
cd build/
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build . --config Release./bin/build.shNote: Make sure to to run
cmake ..andcmake --build .to generate thecompile_commands.jsonand other necessary header files.
Install recommended extensions found in .vscode/extensions.json.
Install plugins recommended by the editor when opening cpp files.
Via Package Control, install LSP and LSP-clangd.