diff --git a/src/lime/tools/CPPHelper.hx b/src/lime/tools/CPPHelper.hx index 2fcf06639..e2877c920 100644 --- a/src/lime/tools/CPPHelper.hx +++ b/src/lime/tools/CPPHelper.hx @@ -201,11 +201,17 @@ class CPPHelper path = project.config.get("project.rebuild.path"); } - if (path == null || !FileSystem.exists(path)) + if (path == null) { return; } + if (!FileSystem.exists(path)) + { + Log.warn("Skipping rebuild. Path not found: " + path + "\nIf you are using a release from Haxelib, source code for native binaries may not be bundled. To rebuild, you may need to check out the full repository."); + return; + } + if (buildFile == null && project.config.exists("project.rebuild.file")) { buildFile = project.config.get("project.rebuild.file"); @@ -215,6 +221,7 @@ class CPPHelper if (!FileSystem.exists(Path.combine(path, buildFile))) { + Log.warn("Skipping rebuild. Path not found: " + path + "\nIf you are using a release from Haxelib, source code for native binaries may not be bundled. To rebuild, you may need to check out the full repository."); return; }