Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/CMakeLists.txt
| Show First 20 Lines • Show All 362 Lines • ▼ Show 20 Lines | |||||
| endif() | endif() | ||||
| # Build makesrna executable | # Build makesrna executable | ||||
| blender_include_dirs( | blender_include_dirs( | ||||
| . | . | ||||
| .. | .. | ||||
| ../../blenfont | ../../blenfont | ||||
| ../../blenkernel | ../../blenkernel | ||||
| ../../blenlib | |||||
| ../../blentranslation | ../../blentranslation | ||||
| ../../bmesh | ../../bmesh | ||||
| ../../depsgraph | ../../depsgraph | ||||
| ../../draw | ../../draw | ||||
| ../../gpu | ../../gpu | ||||
| ../../ikplugin | ../../ikplugin | ||||
| ../../imbuf | ../../imbuf | ||||
| ../../makesdna | ../../makesdna | ||||
| ../../modifiers | ../../modifiers | ||||
| ../../nodes/ | ../../nodes/ | ||||
| ../../sequencer | ../../sequencer | ||||
| ../../simulation | ../../simulation | ||||
| ../../windowmanager | ../../windowmanager | ||||
| ../../editors/include | ../../editors/include | ||||
| ../../render | ../../render | ||||
| ../../../../intern/cycles/blender | ../../../../intern/cycles/blender | ||||
| ../../../../intern/atomic | |||||
| ../../../../intern/glew-mx | ../../../../intern/glew-mx | ||||
| ../../../../intern/guardedalloc | |||||
| ../../../../intern/memutil | ../../../../intern/memutil | ||||
| ../../../../intern/mantaflow/extern | ../../../../intern/mantaflow/extern | ||||
| ) | ) | ||||
| add_cc_flags_custom_test(makesrna) | add_cc_flags_custom_test(makesrna) | ||||
| add_executable(makesrna ${SRC} ${SRC_RNA_INC} ${SRC_DNA_INC}) | add_executable(makesrna ${SRC} ${SRC_RNA_INC} ${SRC_DNA_INC}) | ||||
| setup_platform_linker_flags(makesrna) | setup_platform_linker_flags(makesrna) | ||||
| blender_target_include_dirs(makesrna "${INC}") | |||||
| target_link_libraries(makesrna bf_dna) | blender_target_sys_include_dirs(makesrna "${INC_SYS}") | ||||
| target_link_libraries(makesrna bf_dna_blenlib) | target_link_libraries(makesrna bf_dna bf_dna_blenlib bf_intern_atomic bf_intern_guardedalloc) | ||||
| if(WIN32 AND NOT UNIX) | if(WIN32 AND NOT UNIX) | ||||
| target_link_libraries(makesrna ${PTHREADS_LIBRARIES}) | target_link_libraries(makesrna ${PTHREADS_LIBRARIES}) | ||||
| endif() | endif() | ||||
| # Output rna_*_gen.c | # Output rna_*_gen.c | ||||
| # note (linux only): with crashes try add this after COMMAND: valgrind --leak-check=full --track-origins=yes | # note (linux only): with crashes try add this after COMMAND: valgrind --leak-check=full --track-origins=yes | ||||
| add_custom_command( | add_custom_command( | ||||
| Show All 11 Lines | set(SRC | ||||
| ${SRC_RNA_INC} | ${SRC_RNA_INC} | ||||
| rna_access_internal.h | rna_access_internal.h | ||||
| rna_internal.h | rna_internal.h | ||||
| rna_internal_types.h | rna_internal_types.h | ||||
| rna_mesh_utils.h | rna_mesh_utils.h | ||||
| ) | ) | ||||
| set(LIB | set(LIB | ||||
| PRIVATE bf_intern_atomic | |||||
| PRIVATE bf_intern_guardedalloc | |||||
| PRIVATE bf_blenlib | |||||
| bf_dna | bf_dna | ||||
| bf_editor_space_api | bf_editor_space_api | ||||
| bf_editor_animation | bf_editor_animation | ||||
| bf_editor_armature | bf_editor_armature | ||||
| bf_editor_asset | bf_editor_asset | ||||
| bf_editor_curve | bf_editor_curve | ||||
| bf_editor_curves | bf_editor_curves | ||||
| Show All 20 Lines | |||||