From 21264f89ac7183bf188bf077c39852a843877aa9 Mon Sep 17 00:00:00 2001 From: Thomas Dinges Date: Mon, 20 Jan 2014 20:41:54 +0100 Subject: Cycles: Add a cmake config to easily compile Cycles Standalone. On Linux/Mac OS X, simply type "make cycles" inside the Blender source directory, to get a standalone build of the engine. Reviewed by: Brecht Differential Revision: https://developer.blender.org/D228 --- build_files/cmake/config/cycles_standalone.cmake | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 build_files/cmake/config/cycles_standalone.cmake (limited to 'build_files/cmake') diff --git a/build_files/cmake/config/cycles_standalone.cmake b/build_files/cmake/config/cycles_standalone.cmake new file mode 100644 index 00000000000..45f9c100f93 --- /dev/null +++ b/build_files/cmake/config/cycles_standalone.cmake @@ -0,0 +1,14 @@ +# only compile Cycles standalone, without Blender +# +# Example usage: +# cmake -C../blender/build_files/cmake/config/cycles_standalone.cmake ../blender +# + +# disable Blender +set(WITH_BLENDER OFF CACHE BOOL "" FORCE) +set(WITH_PLAYER OFF CACHE BOOL "" FORCE) +set(WITH_CYCLES_BLENDER OFF CACHE BOOL "" FORCE) + +# build Cycles +set(WITH_CYCLES_STANDALONE ON CACHE BOOL "" FORCE) +set(WITH_CYCLES_STANDALONE_GUI ON CACHE BOOL "" FORCE) -- cgit v1.2.3