forked from qt-creator/qt-creator
23 lines
675 B
QML
23 lines
675 B
QML
|
|
import qbs.FileInfo
|
||
|
|
|
||
|
|
Project {
|
||
|
|
QtcManualtest {
|
||
|
|
name: "DeviceShell manualtest"
|
||
|
|
|
||
|
|
Depends { name: "Utils" }
|
||
|
|
Depends { name: "app_version_header" }
|
||
|
|
|
||
|
|
files: [
|
||
|
|
"tst_deviceshell.cpp",
|
||
|
|
]
|
||
|
|
cpp.defines: {
|
||
|
|
var defines = base;
|
||
|
|
var absLibExecPath = FileInfo.joinPaths(qbs.installRoot, qbs.installPrefix,
|
||
|
|
qtc.ide_libexec_path);
|
||
|
|
var relLibExecPath = FileInfo.relativePath(destinationDirectory, absLibExecPath);
|
||
|
|
defines.push('TEST_RELATIVE_LIBEXEC_PATH="' + relLibExecPath + '"');
|
||
|
|
return defines;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|