2011-04-27 11:58:34 +00:00
|
|
|
|
2011-11-08 20:27:37 +00:00
|
|
|
set(INC
|
2011-04-28 13:47:27 +00:00
|
|
|
.
|
|
|
|
${GLEW_INCLUDE_PATH}
|
2011-11-08 20:27:37 +00:00
|
|
|
${OPENGL_INCLUDE_DIR}
|
|
|
|
)
|
2011-04-27 11:58:34 +00:00
|
|
|
|
2011-11-08 20:27:37 +00:00
|
|
|
set(SRC
|
2011-04-27 11:58:34 +00:00
|
|
|
util_cache.cpp
|
|
|
|
util_cuda.cpp
|
|
|
|
util_dynlib.cpp
|
|
|
|
util_md5.cpp
|
2011-09-19 11:57:31 +00:00
|
|
|
util_memarena.cpp
|
2011-11-15 19:23:35 +00:00
|
|
|
util_opencl.cpp
|
2011-04-27 11:58:34 +00:00
|
|
|
util_path.cpp
|
|
|
|
util_string.cpp
|
|
|
|
util_system.cpp
|
|
|
|
util_time.cpp
|
2011-11-08 20:27:37 +00:00
|
|
|
util_transform.cpp
|
|
|
|
)
|
2011-05-01 10:00:21 +00:00
|
|
|
|
2011-08-16 16:15:34 +00:00
|
|
|
if(WITH_CYCLES_TEST)
|
2011-11-08 20:27:37 +00:00
|
|
|
list(APPEND SRC
|
|
|
|
util_view.cpp
|
|
|
|
)
|
2011-08-16 16:15:34 +00:00
|
|
|
endif()
|
2011-04-27 11:58:34 +00:00
|
|
|
|
2011-11-08 20:27:37 +00:00
|
|
|
set(SRC_HEADERS
|
2011-04-27 11:58:34 +00:00
|
|
|
util_algorithm.h
|
|
|
|
util_args.h
|
|
|
|
util_boundbox.h
|
|
|
|
util_cache.h
|
|
|
|
util_cuda.h
|
|
|
|
util_debug.h
|
|
|
|
util_dynlib.h
|
2011-11-10 06:05:22 +00:00
|
|
|
util_foreach.h
|
2011-04-27 11:58:34 +00:00
|
|
|
util_function.h
|
|
|
|
util_hash.h
|
|
|
|
util_image.h
|
|
|
|
util_list.h
|
|
|
|
util_map.h
|
|
|
|
util_math.h
|
|
|
|
util_md5.h
|
2011-09-19 11:57:31 +00:00
|
|
|
util_memarena.h
|
2011-09-01 19:00:23 +00:00
|
|
|
util_opencl.h
|
2011-04-27 11:58:34 +00:00
|
|
|
util_opengl.h
|
|
|
|
util_param.h
|
|
|
|
util_path.h
|
|
|
|
util_progress.h
|
|
|
|
util_set.h
|
|
|
|
util_string.h
|
|
|
|
util_system.h
|
|
|
|
util_thread.h
|
|
|
|
util_time.h
|
|
|
|
util_transform.h
|
|
|
|
util_types.h
|
|
|
|
util_view.h
|
|
|
|
util_vector.h
|
2011-11-08 20:27:37 +00:00
|
|
|
util_xml.h
|
|
|
|
)
|
2011-04-27 11:58:34 +00:00
|
|
|
|
2011-11-08 20:27:37 +00:00
|
|
|
include_directories(${INC})
|
2011-04-27 11:58:34 +00:00
|
|
|
|
2011-11-08 20:27:37 +00:00
|
|
|
add_library(cycles_util ${SRC} ${SRC_HEADERS})
|