CMake openFrameworks 0.9.0
-
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.
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.
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.
Install required developer packages for your OS with:
dev/install/linux
distro script
mkdir build-linux
cd build-linux
cmake .. -G Ninja -DCMAKE_CXX_COMPILER=clang++
ninja
mkdir build-osx
cd build-osx
cmake .. -G Xcode -DCMAKE_BUILD_TYPE=Release
xcodebuild -configuration Release
mkdir build-windows
cd build-windows
cmake .. -G Ninja -DCMAKE_CXX_COMPILER=clang++
ninja
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.