#!/usr/bin/env python Import("env") Import("env_modules") env_gltf = env_modules.Clone() # Godot source files env_gltf.add_source_files(env.modules_sources, "register_types.cpp") env_gltf.add_source_files(env.modules_sources, "gltf_state.cpp") #env_gltf.add_source_files(env.modules_sources, "*.cpp") env_gltf.add_source_files(env.modules_sources, "extensions/*.cpp") env_gltf.add_source_files(env.modules_sources, "structures/*.cpp") #if env["tools"]: # env_gltf.add_source_files(env.modules_sources, "editor/*.cpp")