From 5fbdda3f642a13e55344976bfa4c0cd44013923a Mon Sep 17 00:00:00 2001 From: kaetemi Date: Fri, 3 Aug 2012 13:39:21 +0200 Subject: [PATCH] Added: #1440 Some notes --HG-- branch : build_pipeline_v3 --- .../pipeline/service/module_pipeline_slave.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/code/nel/tools/pipeline/service/module_pipeline_slave.cpp b/code/nel/tools/pipeline/service/module_pipeline_slave.cpp index 866b4ae72..ffa7cc1b9 100644 --- a/code/nel/tools/pipeline/service/module_pipeline_slave.cpp +++ b/code/nel/tools/pipeline/service/module_pipeline_slave.cpp @@ -554,12 +554,12 @@ public: } } return true; - } + } // ok bool isDirectoryDependency(const std::string &path) { return m_ListDependentDirectories.find(path) != m_ListDependentDirectories.end(); - } + } // ok bool hasInputDirectoryBeenModified(const std::string &inputDirectory) { @@ -597,15 +597,16 @@ public: return true; } } + // nldebug("Input directory '%s' not modified", inputDirectory.c_str()); return false; - } + } // ok bool hasInputFileBeenModified(const std::string &inputFile) { return m_ListInputAdded.find(inputFile) != m_ListInputAdded.end() || m_ListInputChanged.find(inputFile) != m_ListInputChanged.end() || m_ListInputRemoved.find(inputFile) != m_ListInputRemoved.end(); - } + } // ok bool needsToBeRebuilt(const std::vector &inputPaths) { @@ -680,7 +681,7 @@ public: { nldebug("Not all input files have an .output files, rebuild"); m_SubTaskResult = FINISH_SUCCESS; - return true; + return true; // Rebuild } else { @@ -690,7 +691,7 @@ public: } } // not reachable - } + } // ok bool needsToBeRebuildSubByOutput(const std::vector &inputPaths, bool inputChanged) {