diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-08-20 18:23:43 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-08-20 18:23:43 +0400 |
commit | d4dec1c3bcc8fa85e8f4cf3372efe077648a67bf (patch) | |
tree | 8ffb277fdc02a26fab0e6a9406dbc4947ec48312 /source/blender/makesrna/intern/CMakeLists.txt | |
parent | a0a96a84fed4669ac80d09a2fb667c601c048d23 (diff) |
use ghash for DNA_struct_find_nr(), gives ~18% speedup on loading sintel lite, will also speedup undo.
note: only works with CMake, wasn't able to get this working with scons, complains about same file being built in different environments.
Diffstat (limited to 'source/blender/makesrna/intern/CMakeLists.txt')
-rw-r--r-- | source/blender/makesrna/intern/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/CMakeLists.txt b/source/blender/makesrna/intern/CMakeLists.txt index cb593e7deab..cc7bcf04716 100644 --- a/source/blender/makesrna/intern/CMakeLists.txt +++ b/source/blender/makesrna/intern/CMakeLists.txt @@ -243,6 +243,7 @@ blender_include_dirs_sys( add_executable(makesrna ${SRC} ${SRC_RNA_INC} ${SRC_DNA_INC}) target_link_libraries(makesrna bf_dna) +target_link_libraries(makesrna bf_dna_blenlib) # Output rna_*_gen.c # note (linux only): with crashes try add this after COMMAND: valgrind --leak-check=full --track-origins=yes |