1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 17:52:10 +02:00
falkonOfficial/tests/benchmarks/benchmarks.pro

19 lines
472 B
Prolog
Raw Normal View History

TEMPLATE = subdirs
defineTest(addSubdir) {
for(subdir, 1) {
entries = $$files($$subdir/*)
for(entry, entries) {
fullPath = $$replace(entry, ;,"")
fullPath = $$replace(fullPath, \\\\, /)
name = $$replace(fullPath, $$re_escape("$$subdir/"), "")
os2|win32: fullPath = $$lower($$fullPath)
exists($$fullPath/*.pro): SUBDIRS += $$fullPath
}
}
export (SUBDIRS)
}
addSubdir($$PWD)