Skip to content

Installation

wobakj edited this page Oct 13, 2016 · 4 revisions

Ubuntu

makefile

  1. create a "build" folder in the OpenGLFramework directory
  2. open the directory in the console
  3. call "cmake .." to set up the makefiles
  4. build the project from within the "build" directory using the "make" command

Windows

Visual Studio

  1. launch the CMake GUI
  2. choose the OpenGLFramework directory as source code location
  3. choose the OpenGLFramework/build directory as binary location
  4. click on "Configure" and select the correct Visual Studio version"
  5. click on "Generate"
  6. in the framework/build directory open the "OpenGL_Framework.sln" file with Visual Studio
  7. set the "OpenGLFramework" project as StartUp project

MacOS

XCode

  1. launch the CMake GUI
  2. choose the OpenGLFramework directory as source code location
  3. choose the OpenGLFramework/build directory as binary location
  4. click on "Configure" and select the correct Visual Studio version"
  5. click on "Generate"
  6. in the framework/build directory open the "OpenGL_Framework.xcodeproj" file with XCode
  7. in the bar right of the stop and play symbols instead of "ALL_BUILD" select the "OpenGLFramework" project
  8. the resource folder must be placed in the build folder or the build directories change

CLion

  1. create a new project
  2. set the project root to the framework directory in the project sources
Clone this wiki locally