Skip to content

Commit

Permalink
remove qmake files for the new project and conditionally compile rpma…
Browse files Browse the repository at this point in the history
…p plugin

This makes building rpmap plugin depend on projects.Tiled.enableKArchive:true
  • Loading branch information
cpetig committed Oct 28, 2020
1 parent 938dacb commit 33fa108
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 23 deletions.
1 change: 0 additions & 1 deletion src/plugins/plugins.pro
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ SUBDIRS = csv \
json1 \
lua \
replicaisland \
rpmap \
tbin \
tengine

Expand Down
8 changes: 7 additions & 1 deletion src/plugins/plugins.qbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
Project {
name: "plugins"

SubProject {
filePath: "rpmap/rpmap.qbs"
Properties {
condition: parent.enableKArchive
}
}

references: [
"csv",
"defold",
Expand All @@ -13,7 +20,6 @@ Project {
"lua",
"python",
"replicaisland",
"rpmap",
"tbin",
"tengine"
]
Expand Down
21 changes: 0 additions & 21 deletions src/plugins/rpmap/rpmap.pro

This file was deleted.

1 change: 1 addition & 0 deletions tiled.qbs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Project {
property bool useRPaths: true
property bool windowsInstaller: false
property bool enableZstd: false
property bool enableKArchive: false

references: [
"dist/archive.qbs",
Expand Down

0 comments on commit 33fa108

Please sign in to comment.