-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Tutorial: Create an empty project using premake5
This guide aims to help you easily create an empty SFML project using premake5.
- premake5 portable executable
- SFML already built (or prebuilt) statically
- SFML's premake script
You have to setup your directories like this:
Put under dependencies your SFML folder ( without the version ). It will lookup for SFML/include and SFML/lib directories only.
Put a symbolic main.cpp under src directory ( Use this or whatever you like )
Now just:
premake5 vs2019
( if you are using visual studio 2019, otherwise the complete list is here)
And under the new generated folder build you will find your project ready to go.
It happens that it will take the wrong version of the Windows' SDK, add the following to premake script:
filter "system:Windows" systemversion "latest"
or do it manually selecting the latest under Project's Properties -> Configuration Properties/General