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:
Diffstat (limited to 'source/blender/editors/datafiles/CMakeLists.txt')
-rw-r--r--source/blender/editors/datafiles/CMakeLists.txt15
1 files changed, 11 insertions, 4 deletions
diff --git a/source/blender/editors/datafiles/CMakeLists.txt b/source/blender/editors/datafiles/CMakeLists.txt
index dc441c41664..c0edd8d2632 100644
--- a/source/blender/editors/datafiles/CMakeLists.txt
+++ b/source/blender/editors/datafiles/CMakeLists.txt
@@ -35,16 +35,13 @@ set(SRC
if(WITH_BLENDER)
# blender only
list(APPEND SRC
- startup.blend.c
+ # startup.blend.c
bmonofont.ttf.c
)
if(NOT WITH_HEADLESS)
# blender UI only
list(APPEND SRC
- # blends
- preview.blend.c
-
# images
splash.png.c
blender_icons.png.c
@@ -82,7 +79,17 @@ if(WITH_BLENDER)
twist.png.c
vertexdraw.png.c
)
+
+ data_to_c(${CMAKE_SOURCE_DIR}/release/datafiles/preview.blend
+ ${CMAKE_CURRENT_BINARY_DIR}/preview.blend.c
+ datatoc_preview_blend SRC)
+
endif()
+
+ data_to_c(${CMAKE_SOURCE_DIR}/release/datafiles/startup.blend
+ ${CMAKE_CURRENT_BINARY_DIR}/startup.blend.c
+ datatoc_startup_blend SRC)
+
endif()
blender_add_lib(bf_editor_datafiles "${SRC}" "${INC}" "${INC_SYS}")