[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] [bug #53287] Support DLL builds in CMake builds
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] [bug #53287] Support DLL builds in CMake builds |
Date: |
Fri, 09 Mar 2018 07:02:24 +0100 (CET) |
> Hmm, I didn't realise that change was made to ftoptions.h, and it
> does seem to me that change there is enough.
>
> Visual Studio builds automatically define _DLL when we build with
> /MD (release) or /MDd (debug)[1], which is the case for CMake
> builds.
>
> [1]: https://msdn.microsoft.com/en-US/library/b0084kay.aspx
>
> Here is the new patch.
This is applied now, thanks.
Can you also make the ft2demo programs compile with MSVC? They come
with very simple graphical Windows support, and I don't know whether
it works well enough with current Windows versions. Note that we
currently don't have cmake support for the demo programs at all...
Werner
- Re: [ft-devel] [bug #53287] Support DLL builds in CMake builds,
Werner LEMBERG <=