Coder Social home page Coder Social logo

rsnara / cs488 Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 4.0 135.43 MB

Introduction to Graphics!

C++ 40.44% GLSL 0.09% Lua 0.41% Makefile 0.19% C 35.37% CMake 0.38% CSS 0.38% HTML 20.57% JavaScript 0.35% Objective-C 1.20% M 0.09% Batchfile 0.01% Objective-C++ 0.28% Roff 0.05% TeX 0.18%

cs488's Introduction

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.

cs488's People

Contributors

rsnara avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.