Describe your project!
This project uses Premake for project configuration. (What is Premake?)
You can get the latest version here! Make sure you have it in your PATH or in the project root directory.
-
Open a terminal in the project root directory.
-
Run premake with the action of your choice. It's as simple as:
./premake5 my-favorite-action
.
A few examples of actions are:vs2017
/vs2019
(Visual Studio),gmake2
(GNU Make) andxcode4
(Xcode).
Here is a full list of available actions.(Psst! There are also a few third-party premake extensions at your disposal, in case none of the official generators pique your interest)
-
Premake will now have generated project files for the action you specified. You should see a workspace file in the project root directory. For Visual Studio this takes the shape of a
.sln
file. For GNU Make; aMakefile
, etc..
This means that you can now build the project using the corresponding build tool on your computer. If you're using GNU Make, for instance, you can now simply callmake
. Otherwise, if you're using an IDE, you should open the workspace file with said IDE and you will be able to build the project.