Re: [Kicad-developers] CMake visibility options question

2016-09-06 Thread Cirilo Bernardo
Different compilers have different defaults (what are the clang defaults?) so in my particular case if I'm writing code which must also build and run via MSVC then having visibility hidden as the default is the only sensible thing to do. In general I would also use 'hidden' when developing any

Re: [Kicad-developers] CMake visibility options question

2016-09-06 Thread Jon Neal
This is the commit where the visibility flags were first set: f9ab5d2c612c1818125ba928520407bd6c7d9516 The extra CMP tests were added in commit 2869c9f49a36dd2bac32fda2e93aca55ea4479a3 Jon On Tue, Sep 6, 2016 at 1:46 PM Tomasz Wlostowski wrote: > Hi, > > I'm trying

[Kicad-developers] CMake visibility options question

2016-09-06 Thread Tomasz Wlostowski
Hi, I'm trying to build the kiface DLLs with all symbols exported so that I could link them to external test programs (e.g. P test cases). AFAIK symbol visibility is normally controlled in CMake by through the CMAKE_CXX_VISIBILITY_PRESET variable. However, the following code in the