Created
November 30, 2016 11:32
-
-
Save MarioLiebisch/268fd4c84d9dac4a92edd3d70feca630 to your computer and use it in GitHub Desktop.
A quick and simple batch file to run small tests using SFML. Just execute `run <name>` where `<name>´ is the base name of your cpp file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
cls | |
g++ -o %1.exe %1.cpp -std=c++11 -static-libstdc++ -static-libgcc -DSFML_STATIC -lsfml-network-s -lsfml-graphics-s -lsfml-window-s -lsfml-system-s -lwinmm -lopengl32 -lgdi32 -ljpeg -lws2_32 && %1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment