mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
ca160731b9
Autotests: No longer move autotests binary to $root/bin directory Autotests: No longer needed to specify NO_SYSTEM_DATAPATH define
19 lines
472 B
Prolog
19 lines
472 B
Prolog
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)
|