[CMake] Link against exe on Windows fails - .a file not found

Jano Svitok jan.svitok at gmail.com
Sun May 13 19:36:50 EDT 2018


On Mon, May 14, 2018 at 1:34 AM, Jano Svitok <jan.svitok at gmail.com> wrote:

> ENABLE_EXPORTS does #2.
>

Note: for dlls (aka shared libraries) symbols are enabled automatically.
You need ENABLE_EXPORTS 1 only for exes.
Note2: I use MSVC, I have little experience with clang.

Jano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20180514/6198d909/attachment.html>


More information about the CMake mailing list