CMake-based openFrameworks
-
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
ofxaddoncommand.
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.
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.
Install needed developer packages for your Linux distro with a script from dev/install/linux folder.
Install needed developer packages with the dev/install/osx/homebrew.sh script.
mkdir -p build/linux
cd build/linux
cmake ../.. -G Ninja -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Release
ninjamkdir -p build/osx
cd build/osx
cmake ../.. -G Xcode -DCMAKE_BUILD_TYPE=Release
xcodebuild -configuration ReleaseOpen 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=ReleaseYou 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.
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.
