Skip to content

Commit

Permalink
[qbs] Fixed build with qbs 1.8. Fuck qbs.
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-izo committed Jan 6, 2017
1 parent de78d83 commit 468bede
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/plugins/Plugin.qbs
Expand Up @@ -70,19 +70,21 @@ Product {
}
Group {
name: "Source"
prefix: (sourcePath !== '' ? sourcePath + '/' : '') + '**/'
prefix: product.sourceDirectory + '/' + (sourcePath !== '' ? sourcePath + '/' : '') + '**/'
excludeFiles: templateFilePath
files: [ '*.cpp', '*.h', '*.ui', "*.c" ]
}
Group {
name: "ObjectiveC sources [osx]"
condition: qbs.targetOS.contains("osx")
prefix: (sourcePath !== '' ? sourcePath + '/' : '') + '**/'
prefix: product.sourceDirectory + '/' + (sourcePath !== '' ? sourcePath + '/' : '') + '**/'
files: [ '*.mm' ]
}
Group {
name: "Meta information"
fileTags: [ "pluginTemplate" ]
files: '*.plugin.json'
prefix: product.sourceDirectory + '/'
}
Group {
name: "Generic cpp template"
Expand Down

0 comments on commit 468bede

Please sign in to comment.