shared.pro 522 Bytes
Newer Older
1
2
3
4
isEmpty(IDE_SOURCE_TREE): IDE_SOURCE_TREE = $$(QTC_SOURCE)
isEmpty(IDE_BUILD_TREE): IDE_BUILD_TREE = $$(QTC_BUILD)
isEmpty(IDE_SOURCE_TREE): error("Set QTC_SOURCE environment variable")
isEmpty(IDE_BUILD_TREE): error("Set QTC_BUILD environment variable")
5

Christian Stenger's avatar
Christian Stenger committed
6
7
TEMPLATE = aux

8
9
STATIC_BASE = $$PWD
STATIC_DIRS = templates
Christian Stenger's avatar
Christian Stenger committed
10

11
12
13
14
for(data_dir, STATIC_DIRS) {
    files = $$files($$STATIC_BASE/$$data_dir/*, true)
    for(file, files): !exists($$file/*): STATIC_FILES += $$file
}
Christian Stenger's avatar
Christian Stenger committed
15

16
include($$IDE_SOURCE_TREE/share/qtcreator/static.pri)
Christian Stenger's avatar
Christian Stenger committed
17