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:
authorCampbell Barton <ideasman42@gmail.com>2012-08-11 16:26:43 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-08-11 16:26:43 +0400
commit5f341a846b78df701686a56da7caf61c087a716f (patch)
tree902eb747ce8d0f186f146a966be6f5231271156e /source/blender/compositor/CMakeLists.txt
parent51182bc78d993126645b20e38349760f1a697966 (diff)
startup.blend and preview.blend are now converted to C at build time.
made some changes to startup.c - change default player to internal since its working now. - added new screen for full screen 3d viewport (nice for demo's and navigating) - disable cursor depth option (was enabled by default because of re-used flag)
Diffstat (limited to 'source/blender/compositor/CMakeLists.txt')
-rw-r--r--source/blender/compositor/CMakeLists.txt23
1 files changed, 6 insertions, 17 deletions
diff --git a/source/blender/compositor/CMakeLists.txt b/source/blender/compositor/CMakeLists.txt
index 550441be9b7..9c31e19442e 100644
--- a/source/blender/compositor/CMakeLists.txt
+++ b/source/blender/compositor/CMakeLists.txt
@@ -50,21 +50,6 @@ set(INC_SYS
)
-# --- data file ---
-# ... may make this a macro
-list(APPEND INC
- ${CMAKE_CURRENT_BINARY_DIR}/operations
-)
-add_custom_command(
- OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/operations/COM_OpenCLKernels.cl.h
- COMMAND ${CMAKE_COMMAND}
- -DFILE_FROM=${CMAKE_CURRENT_SOURCE_DIR}/operations/COM_OpenCLKernels.cl
- -DFILE_TO=${CMAKE_CURRENT_BINARY_DIR}/operations/COM_OpenCLKernels.cl.h
- -DVAR_NAME=clkernelstoh_COM_OpenCLKernels_cl
- -P ${CMAKE_SOURCE_DIR}/build_files/cmake/data_to_c.cmake
- DEPENDS operations/COM_OpenCLKernels.cl)
-# --- end data file --
-
set(SRC
COM_compositor.h
COM_defines.h
@@ -653,9 +638,13 @@ set(SRC
operations/COM_MaskOperation.cpp
operations/COM_MaskOperation.h
+)
- # generated file
- ${CMAKE_CURRENT_BINARY_DIR}/operations/COM_OpenCLKernels.cl.h
+list(APPEND INC
+ ${CMAKE_CURRENT_BINARY_DIR}/operations
)
+data_to_c(${CMAKE_CURRENT_SOURCE_DIR}/operations/COM_OpenCLKernels.cl
+ ${CMAKE_CURRENT_BINARY_DIR}/operations/COM_OpenCLKernels.cl.h
+ clkernelstoh_COM_OpenCLKernels_cl SRC)
blender_add_lib(bf_compositor "${SRC}" "${INC}" "${INC_SYS}")