Re: [CMake] Performance profiling for CMake scripts?

2018-06-20 Thread Robert Dailey
I set my minimum required version to 3.6, which should enable those policies by default (if they're truly in 3.1 as you indicated). My CMake scripts do a lot of work to build a "tree" of properties connecting targets, so that I can recurse the targets my system generates to process things. CMake d

Re: [CMake] Performance profiling for CMake scripts?

2018-06-20 Thread Robert Maynard
I am not aware of any built in functionality that can generate performance numbers for a project. Have you made sure that the performance/parsing policies are set to NEW or your cmake_minimum_required is sufficiently high, those can have a significant improvement on configuration time. Polices (

[CMake] Performance profiling for CMake scripts?

2018-06-19 Thread Robert Dailey
So I noticed over the years my CMake scripts take longer and longer to configure/generate. Is there a mechanism to tell which parts of my CMake scripts are slowest? I'd like to know how to optimize my CMake scripts to reduce the time it takes to generate projects. -- Powered by www.kitware.com P