mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-21 03:06:34 +01:00
20 lines
496 B
Prolog
20 lines
496 B
Prolog
|
TEMPLATE = subdirs
|
||
|
|
||
|
include(benchmarks.pri)
|
||
|
|
||
|
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)
|