blender/intern/cycles/device/CMakeLists.txt
Sergey Sharybin 4497b6ac84 Cycles: Synchronize changes with standalone repository
This changes were done in original commit of the standalone Cycles repository
and needed here for easier patch synchronization.
2015-01-01 01:31:07 +05:00

47 lines
620 B
CMake

set(INC
.
../kernel
../kernel/svm
../kernel/osl
../util
../render
../../glew-mx
)
set(INC_SYS
${GLEW_INCLUDE_DIR}
../../../extern/cuew/include
../../../extern/clew/include
)
set(SRC
device.cpp
device_cpu.cpp
device_cuda.cpp
device_multi.cpp
device_opencl.cpp
device_task.cpp
)
if(WITH_CYCLES_NETWORK)
list(APPEND SRC
device_network.cpp
)
endif()
set(SRC_HEADERS
device.h
device_memory.h
device_intern.h
device_network.h
device_task.h
)
add_definitions(${GL_DEFINITIONS})
include_directories(${INC})
include_directories(SYSTEM ${INC_SYS})
add_library(cycles_device ${SRC} ${SRC_HEADERS})