Re: [cmake-developers] Optionally disabling static lib dependencies with COMPILE_DEPENDS

2018-01-09 Thread Craig Scott
Perhaps keep an eye on the work going on in merge request 1524 , which may allow you to use object libraries in target_link_libraries(). Not sure if it would cut the dependencies in the way you are seeking, but maybe take a look and see.

Re: [cmake-developers] Optionally disabling static lib dependencies with COMPILE_DEPENDS

2018-01-05 Thread John Wordsworth
I realise I wasn't very clear in my previous explanation. Hopefully this paints a better picture; - We have 40 or so developers spread across Visual Studio 2015 (MSBuild - Windows), Xcode (macOS) and Make/Clang (Linux). 80% use Windows. - We have a core set of libs in use by a number of projects (

Re: [cmake-developers] Optionally disabling static lib dependencies with COMPILE_DEPENDS

2018-01-04 Thread Eric Noulard
2018-01-04 10:48 GMT+01:00 Craig Scott : > > > On Thu, Jan 4, 2018 at 8:27 AM, John Wordsworth > wrote: > >> I have recently been reviewing ways to improve build times for our >> project, which is comprised of a number of static libraries. I stumbled >> across this post on the CMake tracker from

Re: [cmake-developers] Optionally disabling static lib dependencies with COMPILE_DEPENDS

2018-01-04 Thread Craig Scott
On Thu, Jan 4, 2018 at 8:27 AM, John Wordsworth wrote: > I have recently been reviewing ways to improve build times for our > project, which is comprised of a number of static libraries. I stumbled > across this post on the CMake tracker from 2012/13 ( > https://cmake.org/Bug/view.php?id=13799).

[cmake-developers] Optionally disabling static lib dependencies with COMPILE_DEPENDS

2018-01-03 Thread John Wordsworth
I have recently been reviewing ways to improve build times for our project, which is comprised of a number of static libraries. I stumbled across this post on the CMake tracker from 2012/13 (https://cmake.org/Bug/view.php?id=13799 ). It suggests adding a