Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'build_files')
-rw-r--r--build_files/cmake/config/cycles_standalone.cmake14
1 files changed, 14 insertions, 0 deletions
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)