Skip to content

y87feng/cs488

Repository files navigation

CS488 Fall 2015 Project Code


Dependencies


Building Projects

We use premake4 as our cross-platform build system. First you will need to build all the static libraries that the projects depend on. To build the libraries, open up a terminal, and cd to the top level of the CS488 project directory and then run the following:

$ premake4 gmake
$ make

This will build the following static libraries, and place them in the top level lib folder of your cs488 project directory.

  • libcs488-framework.a
  • libglfw3.a
  • libimgui.a

Next we can build a specific project. To do this, cd into one of the project folders, say A0 for example, and run the following terminal commands in order to compile the A0 executable using all .cpp files in the A0 directory:

$ cd A0/
$ premake4 gmake
$ make

Windows

Sorry for all of the hardcore Microsoft fans out there. We have not had time to test the build system on Windows yet. Currently our build steps work for OSX and Linux, but all the steps should be the same on Windows, except you will need different libraries to link against when building your project executables. Some good news is that premake4 can output a Visual Studio .sln file by running:

$ premake4 vs2013

This should point you in the general direction.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published