diff --git a/SConstruct b/SConstruct index 8acea26245..97eafae5bb 100644 --- a/SConstruct +++ b/SConstruct @@ -27,7 +27,7 @@ if profile: elif os.path.isfile(profile + ".py"): customs.append(profile + ".py") opts = Variables(customs, ARGUMENTS) -cpp_tool = Tool("godotcpp", toolpath=["tools"]) +cpp_tool = Tool("godotcpp", toolpath=["site_scons/site_tools"]) cpp_tool.options(opts, env) opts.Update(env) diff --git a/tools/android.py b/site_scons/site_tools/android.py similarity index 100% rename from tools/android.py rename to site_scons/site_tools/android.py diff --git a/tools/common_compiler_flags.py b/site_scons/site_tools/common_compiler_flags.py similarity index 100% rename from tools/common_compiler_flags.py rename to site_scons/site_tools/common_compiler_flags.py diff --git a/tools/godotcpp.py b/site_scons/site_tools/godotcpp.py similarity index 99% rename from tools/godotcpp.py rename to site_scons/site_tools/godotcpp.py index 77a0740fcd..1d6374f176 100644 --- a/tools/godotcpp.py +++ b/site_scons/site_tools/godotcpp.py @@ -52,8 +52,8 @@ def validate_parent_dir(key, val, env): def get_platform_tools_paths(env): path = env.get("custom_tools", None) if path is None: - return ["tools"] - return [normalize_path(path, env), "tools"] + return ["site_scons/site_tools"] + return [normalize_path(path, env), "site_scons/site_tools"] def get_custom_platforms(env): diff --git a/tools/ios.py b/site_scons/site_tools/ios.py similarity index 100% rename from tools/ios.py rename to site_scons/site_tools/ios.py diff --git a/tools/linux.py b/site_scons/site_tools/linux.py similarity index 100% rename from tools/linux.py rename to site_scons/site_tools/linux.py diff --git a/tools/macos.py b/site_scons/site_tools/macos.py similarity index 100% rename from tools/macos.py rename to site_scons/site_tools/macos.py diff --git a/tools/my_spawn.py b/site_scons/site_tools/my_spawn.py similarity index 100% rename from tools/my_spawn.py rename to site_scons/site_tools/my_spawn.py diff --git a/tools/web.py b/site_scons/site_tools/web.py similarity index 100% rename from tools/web.py rename to site_scons/site_tools/web.py diff --git a/tools/windows.py b/site_scons/site_tools/windows.py similarity index 100% rename from tools/windows.py rename to site_scons/site_tools/windows.py