blob: 3b55a63f49edb8c2602c49a02295270fbdd71633 (
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:android {
file_prefix = lib
ext = .so
} else:wasm {
ext = .wasm
}
content = $${file_prefix}$${TARGET}$${ext}
write_file($$OUT_PWD/$$targetinfofile, content)
|