aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index af43892..47da4bb 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -421,6 +421,14 @@ static int buildProject(const FileString &projectPath, const FileString &project
}
}
+ for(const std::string &lib : sibsConfig.getLibs())
+ {
+ string staticLibCmd = "\"";
+ staticLibCmd += lib;
+ staticLibCmd += "\"";
+ ninja.addDependency(staticLibCmd);
+ }
+
if(sibsConfig.shouldBuildTests() && sibsConfig.getTestPath().empty() && !sibsConfig.zigTestAllFiles && sibsConfig.zigTestFiles.empty())
{
printf("Project is missing tests subdirectory. No tests to build\n");