44c393f9b6
Conflicts: config.tests/arch/write_info.pri Repair architecture config test for the WASM_OBJECT_FILES=1 build mode configure.pri tests/auto/gui/text/qtextdocument/tst_qtextdocument.cpp Done-With: Jörg Bornemann <joerg.bornemann@qt.io> Change-Id: I9e12088356eb5bc65b53211cd7a8e330cccd1bb4
18 lines
347 B
Plaintext
18 lines
347 B
Plaintext
targetinfofile = $$basename(_PRO_FILE_)
|
|
targetinfofile ~= s/pro$/target.txt/
|
|
|
|
win32 {
|
|
ext = .exe
|
|
} else:android {
|
|
file_prefix = lib
|
|
ext = .so
|
|
} else:wasm {
|
|
equals(WASM_OBJECT_FILES, 1): \
|
|
ext = .o
|
|
else: \
|
|
ext = .wasm
|
|
}
|
|
|
|
content = $${file_prefix}$${TARGET}$${ext}
|
|
write_file($$OUT_PWD/$$targetinfofile, content)
|