[CMake] CMake and manylinux Python Wheels

2018-08-31 Thread Seth G
Hi list, I'm in the process of updating some SWIG Python bindings for the opensource project MapServer. This uses CMake for the build process, and my latest version of CMakeLists can be seen at: https://github.com/geographika/mapserver/blob/python-mapscript-build2/mapscript/python/CMakeLists.tx

[CMake] Happy Birthday CMake!

2018-08-31 Thread Bill Hoffman
http://public.kitware.com/pipermail/insight-developers/2000-August/024248.html Thanks to everyone that has contributed or used CMake! -Bill -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various se

Re: [CMake] creating a library from other one

2018-08-31 Thread Stéphane Ancelot
Le 31/08/2018 à 16:31, Eric Noulard a écrit : Le ven. 31 août 2018 à 15:59, Stéphane Ancelot mailto:sance...@numalliance.com>> a écrit : I ended with : add_custom_target(combined ALL    COMMAND ${CMAKE_AR} rc libcombined.a $ $) Quick & dirty :-) There is the "thin" optio

Re: [CMake] creating a library from other one

2018-08-31 Thread Eric Noulard
Le ven. 31 août 2018 à 15:59, Stéphane Ancelot a écrit : > I ended with : > > add_custom_target(combined ALL >COMMAND ${CMAKE_AR} rc libcombined.a $ $ FILE:lib2>) > Quick & dirty :-) There is the "thin" option of ar as well: https://stackoverflow.com/questions/3821916/how-to-merge-two-ar-sta

Re: [CMake] creating a library from other one

2018-08-31 Thread Stéphane Ancelot
I ended with : add_custom_target(combined ALL    COMMAND ${CMAKE_AR} rc libcombined.a $ $) Le 31/08/2018 à 15:24, Eric Noulard a écrit : First create OBJECT libraries instead of static Then create as many STATIC libraries as you want that includes as many OBJECT libraries content as you wan

Re: [CMake] creating a library from other one

2018-08-31 Thread Eric Noulard
First create OBJECT libraries instead of static Then create as many STATIC libraries as you want that includes as many OBJECT libraries content as you want. Le ven. 31 août 2018 à 15:17, Stéphane Ancelot a écrit : > Hi, > > I have got some static libraries generated, that I would like to put i

[CMake] creating a library from other one

2018-08-31 Thread Stéphane Ancelot
Hi, I have got some static libraries generated, that  I would like to put in a common one. how can I proceed ? Regards, S.Ancelot -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services t

Re: [CMake] CMake 3.12 and changes in Visual Studio

2018-08-31 Thread Hendrik Sattler
Zitat von Hendrik Sattler : Hi, in CMake <= 3.11, the CMakeLists.txt file that contains the target-creating call, e.g. add_library(), was automatically added to the target as visible file in the Solution Explorer. With CMake 3.12, this is suddenly not the case anymore. Anybody knows what

[CMake] CMake 3.12 and changes in Visual Studio

2018-08-31 Thread Hendrik Sattler
Hi, in CMake <= 3.11, the CMakeLists.txt file that contains the target-creating call, e.g. add_library(), was automatically added to the target as visible file in the Solution Explorer. With CMake 3.12, this is suddenly not the case anymore. Anybody knows what happened? On purpose or on acc