[Bf-blender-cvs] [6167a065a5d] master: Build: also list Cycles build options on first cmake config

Brecht Van Lommel noreply at git.blender.org
Tue Oct 4 20:24:54 CEST 2022


Commit: 6167a065a5d6eb1db356f4d93f05a9bc315eebb5
Author: Brecht Van Lommel
Date:   Tue Oct 4 19:31:24 2022 +0200
Branches: master
https://developer.blender.org/rB6167a065a5d6eb1db356f4d93f05a9bc315eebb5

Build: also list Cycles build options on first cmake config

===================================================================

M	CMakeLists.txt

===================================================================

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 514896161a7..8bb685195bd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1956,6 +1956,22 @@ if(FIRST_RUN)
   info_cfg_option(WITH_MOD_OCEANSIM)
   info_cfg_option(WITH_MOD_REMESH)
 
+  if(WITH_CYCLES)
+    info_cfg_text("Cycles:")
+    info_cfg_option(WITH_CYCLES_OSL)
+    info_cfg_option(WITH_CYCLES_EMBREE)
+    info_cfg_option(WITH_CYCLES_PATH_GUIDING)
+    if(NOT APPLE)
+      info_cfg_option(WITH_CYCLES_DEVICE_OPTIX)
+      info_cfg_option(WITH_CYCLES_DEVICE_CUDA)
+      info_cfg_option(WITH_CYCLES_CUDA_BINARIES)
+      info_cfg_option(WITH_CYCLES_DEVICE_HIP)
+      info_cfg_option(WITH_CYCLES_HIP_BINARIES)
+      info_cfg_option(WITH_CYCLES_DEVICE_ONEAPI)
+      info_cfg_option(WITH_CYCLES_ONEAPI_BINARIES)
+    endif()
+  endif()
+
   info_cfg_text("")
 
   message("${_config_msg}")



More information about the Bf-blender-cvs mailing list