blob: c28fd1310e0dabf1b72300a2129686c41c754527 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import qbs.Probes
Module {
name: 'definition'
Depends { name: 'cpp' }
property string modulePath: path
Probes.IncludeProbe {
id: includeNode
names: "fakeopenssl/sha.h"
platformPaths: [modulePath]
}
cpp.defines: includeNode.found ? 'TEXT="' + includeNode.path + '"' : undefined
}
|