diff --git a/SCsub b/SCsub index f46fa21..c8d3504 100644 --- a/SCsub +++ b/SCsub @@ -20,11 +20,12 @@ module_env.add_source_files(env.modules_sources,"mesh_data_resource_collection.c module_env.add_source_files(env.modules_sources,"plugin/mdr_import_plugin_base.cpp") -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") +if 'TOOLS_ENABLED' in env["CPPDEFINES"]: + 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") + 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") module_env.add_source_files(env.modules_sources,"nodes/mesh_data_instance.cpp")