cmake was using dna source list with the variable out of scope, possibly causing...
[blender.git] / source / blender / makesdna / CMakeLists.txt
index b1e1b589c6e89c172da2aefb64817a29fb957a45..e02b33b92c13ee4e8152617e97c0a74e59e7f761 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
-# Use PARENT_SCOPE so makesrna can access.
-set(SRC_DNA_INC
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_ID.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_action_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_actuator_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_anim_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_armature_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_boid_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_brush_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_camera_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_cloth_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_color_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_constraint_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_controller_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_curve_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_customdata_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_documentation.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_effect_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_fileglobal_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_genfile.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_gpencil_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_group_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_image_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_ipo_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_key_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_lamp_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_lattice_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_listBase.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_material_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_mesh_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_meshdata_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_meta_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_modifier_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_nla_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_node_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_object_fluidsim.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_object_force.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_object_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_outliner_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_packedFile_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_particle_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_property_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_scene_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_screen_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_sdna_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_sensor_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_sequence_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_smoke_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_sound_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_space_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_text_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_texture_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_userdef_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_vec_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_vfont_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_view2d_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_view3d_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_windowmanager_types.h
-       ${CMAKE_CURRENT_SOURCE_DIR}/DNA_world_types.h
-
-       PARENT_SCOPE
-)
-
 add_subdirectory(intern)