|
From: | 范,君維 |
Subject: | Re: [ft-devel] [bug #53287] Support DLL builds in CMake builds |
Date: | Fri, 9 Mar 2018 15:37:44 +0800 |
Hi Werner, I will try to look into this a bit later. With blessings, thank you and cheers! 從 Windows 10 手機傳送 寄件者: Werner LEMBERG > 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 |
[Prev in Thread] | Current Thread | [Next in Thread] |