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>2016-06-28 13:05:42 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-06-28 13:25:52 +0300
commit55546b4e135283f2ec4b5715536e59722c55f11c (patch)
tree31a96606e7a60bb7583da0077683b04ebd765cee /source/blender/blenloader/CMakeLists.txt
parentf181839c572fdffe9554cf7d9e41c7ceffeec02e (diff)
writefile: replace most struct lookups /w constants
Removes many hash lookups per file-save and undo-step.
Diffstat (limited to 'source/blender/blenloader/CMakeLists.txt')
-rw-r--r--source/blender/blenloader/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/blenloader/CMakeLists.txt b/source/blender/blenloader/CMakeLists.txt
index 8364df38208..479d3a15e6c 100644
--- a/source/blender/blenloader/CMakeLists.txt
+++ b/source/blender/blenloader/CMakeLists.txt
@@ -35,6 +35,10 @@ set(INC
../nodes
../render/extern/include
../../../intern/guardedalloc
+
+ # for writefile.c: dna_type_offsets.h
+ ${CMAKE_BINARY_DIR}/source/blender/makesdna/intern
+
)
set(INC_SYS
@@ -74,3 +78,6 @@ if(WITH_CODEC_FFMPEG)
endif()
blender_add_lib(bf_blenloader "${SRC}" "${INC}" "${INC_SYS}")
+
+# needed so writefile.c can use dna_type_offsets.h
+add_dependencies(bf_blenloader bf_dna)