Skip to content

RobertoMalatesta/of-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMake openFrameworks 0.9.0

Features

  • 64-bit, CMake, Ninja, Cotire, Clang and Sanitize ready.

  • Generate project file for your favorite IDE with CMake Generators.

  • Easily add openFrameworks addons with single ofxaddon command.

Difference

The only difference is that this project targets CMake build system and stores source code of some libraries on which openFrameworks depends locally with patches applied if needed.

See Architecture wiki page for details.

Step 1: Clone

Run git clone https://github.com/ofnode/of --depth 1 --no-single-branch in a terminal.

Run git submodule update --init --recursive to clone the examples.

Step 2: Prepare

Install required developer packages for your OS with:

Linux:

dev/install/linux distro script

OS X:

dev/install/osx/homebrew.sh

Windows:

Step 3: Compile

Linux:

mkdir build-linux
cd build-linux
cmake .. -G Ninja -DCMAKE_CXX_COMPILER=clang++
ninja

OS X:

mkdir build-osx
cd build-osx
cmake .. -G Xcode -DCMAKE_BUILD_TYPE=Release
xcodebuild -configuration Release

Windows:

mkdir build-windows
cd build-windows
cmake .. -G Ninja -DCMAKE_CXX_COMPILER=clang++
ninja

Templates

Issues

Licenses

See licenses folder. OF can be used for commercial applications without disclosing their source code. OF statically links to libraries which allow that for commercial use. OF does not use GPL-licensed libraries. FreeImage, FreeType and Cairo are dual licensed, thus OF uses FIPL, FTL and MPL respectively. GTK+ 3, GLib, ALSA, OpenAL Soft, mpg123, libsndfile, Gstreamer, udev and libusb are licensed under LGPL v2.1 or higher which allow dynamic linking to closed source applications and OF dynamically links to them.

About

CMake-based openFrameworks for Linux, OS X and Windows.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 57.5%
  • C++ 39.6%
  • CMake 0.8%
  • Objective-C 0.5%
  • Roff 0.4%
  • Objective-C++ 0.4%
  • Other 0.8%