On 18 March 2014 17:51, Anton Lundin <gla...@acc.umu.se> wrote:
> Nowadays when i testbuild things for Qt4 and Qt5 ive started to build
> out of tree to make it easy to compare results.
>
> I'm not sure if creating a symlink is the best option, but it works for
> our main build environments so I'm sending this one out. If someone have
> a better idea how to solve it in a windows compatible way...
>

on windows when i build a have marbledata copied in ./debug/ where the
binary goes and it runs fine without a symlink.
also when you, for example, create a desktop shortcut to
subsurface.exe, marble will still look for marbledata relative to the
location of subsurface.exe, so this works fine as well.

while 'ln' is supposed to work from msys, i would suggest a:

!win32 {
+marbledata.commands += $(CHK_DIR_EXISTS) $$OUT_PWD/marbledata || ln
-s $$PWD/marbledata $$OUT_PWD/marbledata
+all.depends += marbledata
+QMAKE_EXTRA_TARGETS += marbledata
+
}

lubomir
--
_______________________________________________
subsurface mailing list
subsurface@hohndel.org
http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to