This repository contains my code that is shared across multiple projects.
The common.lua
contains functions representing premake projects.
test
will generate the unit test projectcommon
generates a static lib project containing the basic functionality of this lib (allocators)gl3w
generates a static lib project for gl3w (OpenGL function loader)window
generates a project for the SDL window wrapper and renderer. Projects linking against this should also link against gl3w.
Pass the location of the common folder to each function, without a trailing slash.
The projects in common.lua
assume that the following three configurations are defined: Debug
, Release
, and Test
.