aboutsummaryrefslogtreecommitdiffstats
path: root/copydata.pro
diff options
context:
space:
mode:
Diffstat (limited to 'copydata.pro')
-rw-r--r--copydata.pro6
1 files changed, 5 insertions, 1 deletions
diff --git a/copydata.pro b/copydata.pro
index 043bffe5..c6e8454a 100644
--- a/copydata.pro
+++ b/copydata.pro
@@ -3,9 +3,13 @@ TEMPLATE = aux
# On a debug_and_release configuration, do the copying in the meta Makefile, not in the respective debug and release Makefiles
if(!debug_and_release | !build_pass) {
# Copy all QML files during the build time
- DIRECTORIES = apps dev/apps imports_shared imports_system sysui styles tests
+ DIRECTORIES = apps imports_shared imports_system sysui styles tests
FILES = am-config-neptune.yaml am-config-lucee.yaml Main.qml
+ # Special case for dev/apps folder as windows will put dev/apps into dev/apps in target folder
+ win32: do_copydata.commands += $(COPY_DIR) $$shell_path($$PWD/dev/apps) $$shell_path($$OUT_PWD/apps) $$escape_expand(\n\t)
+ else: do_copydata.commands += $(COPY_DIR) $$shell_path($$PWD/dev/apps) $$shell_path($$OUT_PWD) $$escape_expand(\n\t)
+
for (d , DIRECTORIES) {
win32: do_copydata.commands += $(COPY_DIR) $$shell_path($$PWD/$${d}) $$shell_path($$OUT_PWD/$${d}) $$escape_expand(\n\t)
else: do_copydata.commands += $(COPY_DIR) $$shell_path($$PWD/$${d}) $$shell_path($$OUT_PWD) $$escape_expand(\n\t)