summaryrefslogtreecommitdiffstats
path: root/config.tests/arch/write_info.pri
blob: 666b9e5cbb866b10b311f9b20c0775dc84927228 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
targetinfofile = $$basename(_PRO_FILE_)
targetinfofile ~= s/pro$/target.txt/

win32 {
    ext = .exe
} else:wasm {
    equals(WASM_OBJECT_FILES, 1): \
        ext = .o
    else: \
        ext = .wasm
}

content = $${file_prefix}$${TARGET}$${ext}
write_file($$OUT_PWD/$$targetinfofile, content)