2020-07-05 12:18:00 +02:00
|
|
|
import os
|
|
|
|
|
2019-12-20 16:14:37 +01:00
|
|
|
Import('env')
|
|
|
|
|
|
|
|
module_env = env.Clone()
|
|
|
|
|
2020-07-05 12:18:00 +02:00
|
|
|
if os.path.isdir('../texture_packer'):
|
|
|
|
module_env.Append(CPPDEFINES=['TEXTURE_PACKER_PRESENT'])
|
|
|
|
|
2020-07-05 14:53:45 +02:00
|
|
|
if os.path.isdir('../props'):
|
|
|
|
module_env.Append(CPPDEFINES=['PROPS_PRESENT'])
|
|
|
|
|
2021-07-19 18:52:00 +02:00
|
|
|
if os.path.isdir('../mesh_utils'):
|
|
|
|
module_env.Append(CPPDEFINES=['MESH_UTILS_PRESENT'])
|
|
|
|
|
2019-12-20 16:14:37 +01:00
|
|
|
module_env.add_source_files(env.modules_sources,"register_types.cpp")
|
|
|
|
|
|
|
|
module_env.add_source_files(env.modules_sources,"mesh_data_resource.cpp")
|
2020-07-26 14:51:53 +02:00
|
|
|
module_env.add_source_files(env.modules_sources,"mesh_data_resource_collection.cpp")
|
2020-01-14 23:13:16 +01:00
|
|
|
|
2020-07-26 12:41:35 +02:00
|
|
|
module_env.add_source_files(env.modules_sources,"plugin/mdr_import_plugin_base.cpp")
|
|
|
|
|
2020-01-14 23:13:16 +01:00
|
|
|
module_env.add_source_files(env.modules_sources,"plugin_collada/editor_import_collada_mdr.cpp")
|
|
|
|
module_env.add_source_files(env.modules_sources,"plugin_collada/editor_plugin_collada_mdr.cpp")
|
|
|
|
|
|
|
|
module_env.add_source_files(env.modules_sources,"plugin_gltf/editor_import_gltf_mdr.cpp")
|
|
|
|
module_env.add_source_files(env.modules_sources,"plugin_gltf/editor_plugin_gltf_mdr.cpp")
|
2020-06-27 21:44:45 +02:00
|
|
|
|
|
|
|
module_env.add_source_files(env.modules_sources,"nodes/mesh_data_instance.cpp")
|
2020-07-05 14:53:45 +02:00
|
|
|
|
2020-07-05 18:48:13 +02:00
|
|
|
module_env.add_source_files(env.modules_sources,"props/prop_data_mesh_data.cpp")
|