-
Notifications
You must be signed in to change notification settings - Fork 30
Notes on using with SFML2
Bill Quith edited this page Aug 29, 2016
·
1 revision
These are notes on how to build the samples for SFML2. They are not comprehensive, just a guide.
You can download the pre-compiled SFML2 binaries, e.g. Download libraries
Unzip somewhere, say into: C:/libs/SFML-XY
where SFML-XY
is the name of the directory containing the pre-compiled libs. This will contain an "include" and "lib" directories.
To make project files for Visual Studio for render you might use:
cmake -G "Visual Studio 14 2015" -DRENDER_SFML2=ON -DSFML_ROOT="C:/libs/LIB-XY"
cmake -h
shows you the available project options.
You could install SFML2 from Homebrew: brew install SFML
cmake -G "Xcode" -DRENDER_SFML2=ON
Open project, compile, and run.