sfml-starter

This project is an empty project completely setup to build an C++ SFML application using Visual Studio Code.

MIT License

Stars
9

SFML Starter Project

This project is an empty project completely setup to build an C++ SFML application. It uses the project configuration of Visual Studio Code. It is possible to build on Windows and Linux in two default target (Debug and Release) and it is possible to debug using breakpoints.

Project setup

  • Install the C/C++ Visual Studio Code extension.

Linux

  • Install g++-4.9:
sudo apt install g++-4.9

Windows

  • Install GCC 6.1.0 MinGW (SEH) - 64-bit Download

  • Add the path where mingw32-make.exe and gdb.exe are located in your PATH.

Change the application name

  • Change the APPNAME variable in the makefile file. APPNAME=Game

  • Change the application name accordingly in .vscode/launch.json file.

  • Configure your include paths in c_cpp_properties.json.

Improvements to work on