summaryrefslogtreecommitdiffstats
path: root/build/qmake/mkspecs/features/functions.prf
blob: 3ac1ffa12402b4932e98546d312ab9134fe3eb65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Map to the correct target type for gyp
defineReplace(toGypTargetType) {
  equals(TEMPLATE, "app"):return("executable")
  equals(TEMPLATE, "lib") {
    CONFIG(static): return("static_library")
    return("shared_library")
  }
  return("none")
}

defineReplace(getOutDir) {
  CONFIG(release, debug|release):return("$$BLINQ_ROOT/out/Release")
  return("$$BLINQ_ROOT/out/Debug")
}