Skip to content

kutabar/of

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMake-based openFrameworks

Features

  • 64-bit, C++11, 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.

Step 1: Clone

Run git clone https://github.com/ofnode/of --depth 1 --recursive in a command line or download it by clicking on a Github's "Download ZIP" button.

Step 2: Install

For Linux:

Install needed developer packages for your Linux distro with a script from dev/install/linux folder.

For OS X:

Install needed developer packages with the dev/install/osx/homebrew.sh script.

For Windows:

See wiki

Step 3: Compile

For Linux:

mkdir -p build/linux
cd build/linux
cmake ../.. -G Ninja -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Release
ninja

For OS X:

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

For Windows:

Open the Start menu and run VS2013 x64 Native Tools Command Prompt, then cd /d into of directory and enter:

mkdir build\windows
cd build\windows
cmake ..\.. -G "Visual Studio 12 2013 Win64" -DCMAKE_BUILD_TYPE=Release
msbuild openFrameworks.sln /m /p:Configuration=Release

You can always skip this step by downloading precompiled libraries from releases page and extract lib-linux, lib-osx or lib-windows folders to of root directory.

Templates

Issues

Licenses

See licenses folder. OF can be used for commercial applications without disclosing their source code. OF statically links to all libraries which allow that for commercial use. OF does not use GPL libraries. FreeImage, FreeType and Cairo are dual licensed, and thus OF uses FIPL, FTL and MPL respectively. OpenAL Soft, libsndfile and libusb are licensed under LGPL 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

Packages

No packages published