Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/CMakeLists.txt
| Show First 20 Lines • Show All 288 Lines • ▼ Show 20 Lines | set(SRC | ||||
| nodes/COM_DilateErodeNode.cc | nodes/COM_DilateErodeNode.cc | ||||
| nodes/COM_DilateErodeNode.h | nodes/COM_DilateErodeNode.h | ||||
| nodes/COM_DirectionalBlurNode.cc | nodes/COM_DirectionalBlurNode.cc | ||||
| nodes/COM_DirectionalBlurNode.h | nodes/COM_DirectionalBlurNode.h | ||||
| nodes/COM_FilterNode.cc | nodes/COM_FilterNode.cc | ||||
| nodes/COM_FilterNode.h | nodes/COM_FilterNode.h | ||||
| nodes/COM_InpaintNode.cc | nodes/COM_InpaintNode.cc | ||||
| nodes/COM_InpaintNode.h | nodes/COM_InpaintNode.h | ||||
| nodes/COM_AntiAliasingNode.cc | |||||
| nodes/COM_AntiAliasingNode.h | |||||
| operations/COM_BlurBaseOperation.cc | operations/COM_BlurBaseOperation.cc | ||||
| operations/COM_BlurBaseOperation.h | operations/COM_BlurBaseOperation.h | ||||
| operations/COM_BokehBlurOperation.cc | operations/COM_BokehBlurOperation.cc | ||||
| operations/COM_BokehBlurOperation.h | operations/COM_BokehBlurOperation.h | ||||
| operations/COM_DirectionalBlurOperation.cc | operations/COM_DirectionalBlurOperation.cc | ||||
| operations/COM_DirectionalBlurOperation.h | operations/COM_DirectionalBlurOperation.h | ||||
| operations/COM_FastGaussianBlurOperation.cc | operations/COM_FastGaussianBlurOperation.cc | ||||
| operations/COM_FastGaussianBlurOperation.h | operations/COM_FastGaussianBlurOperation.h | ||||
| Show All 10 Lines | set(SRC | ||||
| operations/COM_GaussianYBlurOperation.cc | operations/COM_GaussianYBlurOperation.cc | ||||
| operations/COM_GaussianYBlurOperation.h | operations/COM_GaussianYBlurOperation.h | ||||
| operations/COM_MovieClipAttributeOperation.cc | operations/COM_MovieClipAttributeOperation.cc | ||||
| operations/COM_MovieClipAttributeOperation.h | operations/COM_MovieClipAttributeOperation.h | ||||
| operations/COM_MovieDistortionOperation.cc | operations/COM_MovieDistortionOperation.cc | ||||
| operations/COM_MovieDistortionOperation.h | operations/COM_MovieDistortionOperation.h | ||||
| operations/COM_VariableSizeBokehBlurOperation.cc | operations/COM_VariableSizeBokehBlurOperation.cc | ||||
| operations/COM_VariableSizeBokehBlurOperation.h | operations/COM_VariableSizeBokehBlurOperation.h | ||||
| operations/COM_SMAAOperation.cc | |||||
| operations/COM_SMAAOperation.h | |||||
| # Matte nodes | # Matte nodes | ||||
| nodes/COM_BoxMaskNode.cc | nodes/COM_BoxMaskNode.cc | ||||
| nodes/COM_BoxMaskNode.h | nodes/COM_BoxMaskNode.h | ||||
| nodes/COM_ColorSpillNode.cc | nodes/COM_ColorSpillNode.cc | ||||
| nodes/COM_ColorSpillNode.h | nodes/COM_ColorSpillNode.h | ||||
| nodes/COM_DoubleEdgeMaskNode.cc | nodes/COM_DoubleEdgeMaskNode.cc | ||||
| nodes/COM_DoubleEdgeMaskNode.h | nodes/COM_DoubleEdgeMaskNode.h | ||||
| ▲ Show 20 Lines • Show All 230 Lines • ▼ Show 20 Lines | |||||
| data_to_c( | data_to_c( | ||||
| ${CMAKE_CURRENT_SOURCE_DIR}/operations/COM_OpenCLKernels.cl | ${CMAKE_CURRENT_SOURCE_DIR}/operations/COM_OpenCLKernels.cl | ||||
| ${CMAKE_CURRENT_BINARY_DIR}/operations/COM_OpenCLKernels.cl.h | ${CMAKE_CURRENT_BINARY_DIR}/operations/COM_OpenCLKernels.cl.h | ||||
| SRC | SRC | ||||
| ) | ) | ||||
| add_definitions(-DCL_USE_DEPRECATED_OPENCL_1_1_APIS) | add_definitions(-DCL_USE_DEPRECATED_OPENCL_1_1_APIS) | ||||
| set(GENSRC_DIR ${CMAKE_CURRENT_BINARY_DIR}/operations) | |||||
| set(GENSRC ${GENSRC_DIR}/COM_SMAAAreaTexture.h) | |||||
| add_custom_command( | |||||
| OUTPUT ${GENSRC} | |||||
| COMMAND ${CMAKE_COMMAND} -E make_directory ${GENSRC_DIR} | |||||
| COMMAND "$<TARGET_FILE:smaa_areatex>" ${GENSRC} | |||||
| DEPENDS smaa_areatex | |||||
| ) | |||||
| add_custom_target(smaa_areatex_header | |||||
| SOURCES ${GENSRC} | |||||
| ) | |||||
| list(APPEND SRC | |||||
| ${GENSRC} | |||||
| ) | |||||
| unset(GENSRC) | |||||
| unset(GENSRC_DIR) | |||||
| if(WITH_INTERNATIONAL) | if(WITH_INTERNATIONAL) | ||||
| add_definitions(-DWITH_INTERNATIONAL) | add_definitions(-DWITH_INTERNATIONAL) | ||||
| endif() | endif() | ||||
| if(WITH_OPENIMAGEDENOISE) | if(WITH_OPENIMAGEDENOISE) | ||||
| add_definitions(-DWITH_OPENIMAGEDENOISE) | add_definitions(-DWITH_OPENIMAGEDENOISE) | ||||
| add_definitions(-DOIDN_STATIC_LIB) | add_definitions(-DOIDN_STATIC_LIB) | ||||
| list(APPEND INC_SYS | list(APPEND INC_SYS | ||||
| ${OPENIMAGEDENOISE_INCLUDE_DIRS} | ${OPENIMAGEDENOISE_INCLUDE_DIRS} | ||||
| ${TBB_INCLUDE_DIRS} | ${TBB_INCLUDE_DIRS} | ||||
| ) | ) | ||||
| list(APPEND LIB | list(APPEND LIB | ||||
| ${OPENIMAGEDENOISE_LIBRARIES} | ${OPENIMAGEDENOISE_LIBRARIES} | ||||
| ${TBB_LIBRARIES} | ${TBB_LIBRARIES} | ||||
| ) | ) | ||||
| endif() | endif() | ||||
| blender_add_lib(bf_compositor "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") | blender_add_lib(bf_compositor "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") | ||||
| add_dependencies(bf_compositor smaa_areatex_header) | |||||