SFML
16 games in C++/- From youtube series Let's make 16 games in C++/SFML!
- source code download
Build and Run
Can compile each from command line on Mac via
# clang
clang++ \
-framework sfml-window \
-framework sfml-graphics \
-framework sfml-system \
-framework sfml-audio \
-framework sfml-network \
main.cpp -o main
# gcc
g++ \
-framework sfml-window \
-framework sfml-graphics \
-framework sfml-system \
-framework sfml-audio \
-framework sfml-network \
main.cpp -o main
# run
./main
NOTE: assumes SFML installed. Frameworks should exist in
/Library/Frameworks