blender/intern/cycles/util/CMakeLists.txt
Thomas Dinges cd5e1ff74e Cycles Refactor: Add SSE Utility code from Embree for cleaner SSE code.
This makes the code a bit easier to understand, and might come in handy
if we want to reuse more Embree code.

Differential Revision: https://developer.blender.org/D482

Code by Brecht, with fixes by Lockal, Sergey and myself.
2014-06-13 21:59:12 +02:00

77 lines
1.0 KiB
CMake

set(INC
.
)
set(INC_SYS
${GLEW_INCLUDE_PATH}
${OPENGL_INCLUDE_DIR}
)
set(SRC
util_cache.cpp
util_cuda.cpp
util_dynlib.cpp
util_md5.cpp
util_opencl.cpp
util_path.cpp
util_string.cpp
util_simd.cpp
util_system.cpp
util_task.cpp
util_time.cpp
util_transform.cpp
)
if(WITH_CYCLES_STANDALONE AND WITH_CYCLES_STANDALONE_GUI)
list(APPEND SRC
util_view.cpp
)
endif()
set(SRC_HEADERS
util_algorithm.h
util_args.h
util_boundbox.h
util_cache.h
util_cuda.h
util_debug.h
util_dynlib.h
util_foreach.h
util_function.h
util_half.h
util_hash.h
util_image.h
util_list.h
util_map.h
util_math.h
util_md5.h
util_opencl.h
util_opengl.h
util_optimization.h
util_param.h
util_path.h
util_progress.h
util_set.h
util_simd.h
util_sseb.h
util_ssef.h
util_ssei.h
util_stats.h
util_string.h
util_system.h
util_task.h
util_thread.h
util_time.h
util_transform.h
util_types.h
util_vector.h
util_view.h
util_xml.h
)
include_directories(${INC})
include_directories(SYSTEM ${INC_SYS})
add_library(cycles_util ${SRC} ${SRC_HEADERS})