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 'intern/cycles/device/CMakeLists.txt')
-rw-r--r--intern/cycles/device/CMakeLists.txt92
1 files changed, 46 insertions, 46 deletions
diff --git a/intern/cycles/device/CMakeLists.txt b/intern/cycles/device/CMakeLists.txt
index d804a07bcab..75f4a72bee3 100644
--- a/intern/cycles/device/CMakeLists.txt
+++ b/intern/cycles/device/CMakeLists.txt
@@ -1,61 +1,61 @@
set(INC
- ..
- ../../glew-mx
+ ..
+ ../../glew-mx
)
set(INC_SYS
- ${GLEW_INCLUDE_DIR}
- ../../../extern/clew/include
+ ${GLEW_INCLUDE_DIR}
+ ../../../extern/clew/include
)
if(WITH_CUDA_DYNLOAD)
- list(APPEND INC
- ../../../extern/cuew/include
- )
- add_definitions(-DWITH_CUDA_DYNLOAD)
+ list(APPEND INC
+ ../../../extern/cuew/include
+ )
+ add_definitions(-DWITH_CUDA_DYNLOAD)
else()
- list(APPEND INC_SYS
- ${CUDA_TOOLKIT_INCLUDE}
- )
- add_definitions(-DCYCLES_CUDA_NVCC_EXECUTABLE="${CUDA_NVCC_EXECUTABLE}")
+ list(APPEND INC_SYS
+ ${CUDA_TOOLKIT_INCLUDE}
+ )
+ add_definitions(-DCYCLES_CUDA_NVCC_EXECUTABLE="${CUDA_NVCC_EXECUTABLE}")
endif()
set(SRC
- device.cpp
- device_cpu.cpp
- device_cuda.cpp
- device_denoising.cpp
- device_memory.cpp
- device_multi.cpp
- device_opencl.cpp
- device_split_kernel.cpp
- device_task.cpp
+ device.cpp
+ device_cpu.cpp
+ device_cuda.cpp
+ device_denoising.cpp
+ device_memory.cpp
+ device_multi.cpp
+ device_opencl.cpp
+ device_split_kernel.cpp
+ device_task.cpp
)
set(SRC_OPENCL
- opencl/opencl.h
- opencl/memory_manager.h
+ opencl/opencl.h
+ opencl/memory_manager.h
- opencl/opencl_split.cpp
- opencl/opencl_util.cpp
- opencl/memory_manager.cpp
+ opencl/opencl_split.cpp
+ opencl/opencl_util.cpp
+ opencl/memory_manager.cpp
)
if(WITH_CYCLES_NETWORK)
- list(APPEND SRC
- device_network.cpp
- )
+ list(APPEND SRC
+ device_network.cpp
+ )
endif()
set(SRC_HEADERS
- device.h
- device_denoising.h
- device_memory.h
- device_intern.h
- device_network.h
- device_split_kernel.h
- device_task.h
+ device.h
+ device_denoising.h
+ device_memory.h
+ device_intern.h
+ device_network.h
+ device_split_kernel.h
+ device_task.h
)
set(LIB
@@ -63,27 +63,27 @@ set(LIB
)
if(WITH_CUDA_DYNLOAD)
- list(APPEND LIB
- extern_cuew
- )
+ list(APPEND LIB
+ extern_cuew
+ )
else()
- list(APPEND LIB
- ${CUDA_CUDA_LIBRARY}
- )
+ list(APPEND LIB
+ ${CUDA_CUDA_LIBRARY}
+ )
endif()
add_definitions(${GL_DEFINITIONS})
if(WITH_CYCLES_NETWORK)
- add_definitions(-DWITH_NETWORK)
+ add_definitions(-DWITH_NETWORK)
endif()
if(WITH_CYCLES_DEVICE_OPENCL)
- add_definitions(-DWITH_OPENCL)
+ add_definitions(-DWITH_OPENCL)
endif()
if(WITH_CYCLES_DEVICE_CUDA)
- add_definitions(-DWITH_CUDA)
+ add_definitions(-DWITH_CUDA)
endif()
if(WITH_CYCLES_DEVICE_MULTI)
- add_definitions(-DWITH_MULTI)
+ add_definitions(-DWITH_MULTI)
endif()
include_directories(${INC})