summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/qmake/testdata/pro_file_cache/pro_file_cache.pro
blob: e324c3f25f805438262f63ca5b99586d41b0f0d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
TEMPLATE = app
CONFIG -= debug_and_release_target

SOURCES =

content = ""
write_file("include.pri", content)
include(include.pri)

content = "SOURCES = main.cpp"
write_file("include.pri", content)
include(include.pri)

# Make sure that including the .pri file a second time will reload it properly
# off disk with the new content.
isEmpty(SOURCES): error(No sources defined)

# Empty it again to silence qmake about non-existance sources
SOURCES =