<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Den tis 23 feb. 2021 21:27Joerg Bornemann <<a href="mailto:joerg.bornemann@qt.io">joerg.bornemann@qt.io</a>> skrev:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2/23/21 8:52 PM, Thiago Macieira wrote:<br>
> On Tuesday, 23 February 2021 00:00:22 PST Joerg Bornemann wrote:<br>
>> On 2/20/21 2:44 AM, Thiago Macieira wrote:<br>
>>> Besides, doesn't Windows now have symlinks?<br>
>><br>
>> For admin users only unless an admin user enables them for everyone.<br>
>> Hard-links are available though on NTFS.<br>
> <br>
> Can we use the hard-links then?<br>
<br>
CMake supports creating hard links with file(CREATE_LINK).<br>
<br>
"cmake --install" does not directly support creating hard links. One <br>
would probably have to use install(SCRIPT) with a script that runs <br>
file(CREATE_LINK).<br>
<br>
For the installer, 7zip supports storing hard links since 9.33.<br>
<br>
Without trying anything, it looks like using hard links could work.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">I guess it rules out installing to e.g. a FAT-formatted USB-stick, but I don't know if that's a thing. Could be considered an edge case and documented not to work.</div><div dir="auto"><br></div><div dir="auto">Elvis</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Cheers,<br>
<br>
Joerg<br>
_______________________________________________<br>
Development mailing list<br>
<a href="mailto:Development@qt-project.org" target="_blank" rel="noreferrer">Development@qt-project.org</a><br>
<a href="https://lists.qt-project.org/listinfo/development" rel="noreferrer noreferrer" target="_blank">https://lists.qt-project.org/listinfo/development</a><br>
</blockquote></div></div></div>