aboutsummaryrefslogtreecommitdiff
path: root/backend/BackendUtils.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-09-20 21:00:42 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-06 07:39:33 +0200
commit8e8dda19284c2e3767aa7b97fb29edad56344aae (patch)
treef488b86856dade694007b1315355b969562b6d54 /backend/BackendUtils.cpp
parent9dd940a47e99becff4213e0abe38799da47771ac (diff)
Use cflags includes in zig build, ignore sibs-build dir for source files
Diffstat (limited to 'backend/BackendUtils.cpp')
-rw-r--r--backend/BackendUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/BackendUtils.cpp b/backend/BackendUtils.cpp
index b790978..26608c7 100644
--- a/backend/BackendUtils.cpp
+++ b/backend/BackendUtils.cpp
@@ -79,7 +79,7 @@ namespace backend
string filePathUtf8 = toUtf8(pathNative.c_str());
ninjaProject->addTestSourceDir(filePathUtf8.c_str());
}
- else if(recursive && !directoryToIgnore(pathNative, sibsConfig.getIgnoreDirs()))
+ else if(recursive && !directoryToIgnore(pathNative, sibsConfig.getIgnoreDirs()) && !_tinydir_strcmp(pathNative.c_str(), TINYDIR_STRING("sibs-build")))
{
FileString projectConfPath = file->path;
#if OS_FAMILY == OS_FAMILY_WINDOWS