Re: [CMake] Copying Shared Libraries (DLLs) Next to the Executable

2018-02-22 Thread Hendrik Sattler
Am 22. Februar 2018 04:20:40 MEZ schrieb "Marek Vojtko (Firaxis)" : >I was looking into GetPrerequisites and FixupBundle, but both of those >operate on an already existing executable and try to guess what shared >libraries (DLLs) it might need. It feels silly to guess

Re: [CMake] Copying Shared Libraries (DLLs) Next to the Executable

2018-02-22 Thread Daniel Schepler
From: CMake [cmake-boun...@cmake.org] on behalf of Marek Vojtko (Firaxis) [marek.voj...@firaxis.com] Sent: Wednesday, February 21, 2018 7:20 PM To: cmake@cmake.org Subject: [CMake] Copying Shared Libraries (DLLs) Next to the Executable Hi, I need to copy

[CMake] Copying Shared Libraries (DLLs) Next to the Executable

2018-02-21 Thread Marek Vojtko (Firaxis)
Hi, I need to copy external shared libraries (DLLs on Windows) next to the generated executable. Is calling "cmake -E copy_if_different" through a custom command added to the executable target still the best way to achieve this? CMake tracks include directories, compile definitions or options,