Re: [CMake] Warning when building static & shared library (DLL) on Windows

2018-09-30 Thread Kim Walisch
Thanks! On Sun, Sep 30, 2018 at 12:41 PM J Decker wrote: > > > On Sun, Sep 30, 2018 at 3:12 AM Kim Walisch wrote: > >> Hi, >> >> I have recently found out about CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS which >> allows >> to easily build a shared library i.e. DLL on Windows. It works great and >> it is

Re: [CMake] Warning when building static & shared library (DLL) on Windows

2018-09-30 Thread J Decker
On Sun, Sep 30, 2018 at 3:12 AM Kim Walisch wrote: > Hi, > > I have recently found out about CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS which > allows > to easily build a shared library i.e. DLL on Windows. It works great and > it is an awesome > feature however I have run into a warning on Windows (using

[CMake] Warning when building static & shared library (DLL) on Windows

2018-09-30 Thread Kim Walisch
Hi, I have recently found out about CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS which allows to easily build a shared library i.e. DLL on Windows. It works great and it is an awesome feature however I have run into a warning on Windows (using cmake, ninja, MSVC) because my CMakeLists.txt builds both a static

Re: [CMake] Call function from name and list, including empty elements?

2018-09-30 Thread Jan Wielemaker
Hi Craig, Thanks for the quick response. On 30/09/18 01:00, Craig Scott wrote: On Sun, Sep 30, 2018 at 2:28 AM Jan Wielemaker mailto:j...@swi-prolog.org>> wrote: Hi I'm converting a big project (SWI-Prolog) to cmake. Still a newbie wrt. cmake, but quite happy. There is one thing