Re: [cmake-developers] Shared libraries

2018-08-22 Thread APEKE, SENA (ext)
: [cmake-developers] Shared libraries Hi Tony, I believe I somewhat misunderstood what appears to be two separate issues here: 1: how to get your build to generate the static and shared libraries and 2: the library format doesn't seem correct. Regarding 1, it will be project specific i

Re: [cmake-developers] Shared libraries

2018-08-21 Thread Chuck Atkins
Hi Tony, I believe I somewhat misunderstood what appears to be two separate issues here: 1: how to get your build to generate the static and shared libraries and 2: the library format doesn't seem correct. Regarding 1, it will be project specific if the project's build designed to simultaneously p

Re: [cmake-developers] Shared libraries

2018-08-21 Thread REIX, Tony
/owa/redir.aspx?C=PvphmPvCZkGrAgHVnWGsdMcDKgzl_dEIsM6rX0g4u4v8V81YffzBGkWrtQeAXNovd3ttkJL8JIc.&URL=http%3a%2f%2fwww.atos.net%2f> De : Chuck Atkins Envoyé : mardi 21 août 2018 18:02 À : REIX, Tony Cc : CMake Developers Objet : Re: [cmake-developers] Shared libraries Hi Tony, I expect what your seeing is

Re: [cmake-developers] Shared libraries

2018-08-21 Thread Chuck Atkins
Hi Tony, I expect what your seeing is likely the result of how MaraiaDBhas specifically implemented their CMake build. The only builtin CMake variable to control this is BUILD_SHARED_LIBS, which when set to "ON" changes the behavior of add_library(foo) to be add_library(foo SHARED), instead of th

[cmake-developers] Shared libraries

2018-08-09 Thread REIX, Tony
Hi, On AIX, when building MongoC 1.11, cmake 3.11.4 generates lib*.so files and lib*.a files which contain .o files. On AIX, we should get libraries lib*.a containing the lib*.so file. I've tried to use: -DBUILD_SHARED_LIBS=ON \ -DBUILD_STATIC_LIBS=OFF \ -DCMAKE_C_CRE