Skip to content

Commit

Permalink
Merge branch 'dev' into rc
Browse files Browse the repository at this point in the history
  • Loading branch information
C0kkie committed Dec 3, 2022
2 parents f9f37fe + eba29eb commit ba54984
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions compiler/compiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,13 @@ bool Compiler::CompileModule(const std::string& fileName, bool compileDependenci

// Compile the dependency file
std::string fullFileName = package->ResolveFile(depPath, fileName);

// Check if the file has already been compiled
if(std::find(compiledFiles.begin(), compiledFiles.end(), fullFileName) != compiledFiles.end()) continue;

// Dont compile if the module is ignored
if(std::find(ignoredModules.begin(), ignoredModules.end(), fullFileName) != ignoredModules.end()) continue;

if(!CompileModule(fullFileName, true)) return false;
}
}
Expand Down
2 changes: 1 addition & 1 deletion module/deps/cpp-sdk

0 comments on commit ba54984

Please sign in to comment.