Re: [CMake] target_sources and multiple subdirs

2018-06-20 Thread Craig Scott
On Thu, Jun 21, 2018 at 2:47 AM, Michael Jackson < mike.jack...@bluequartz.net> wrote: > I have a project where we have a bunch of plugins that are compiled. We > are currently wrapping with Pybind11 to access those libraries from Python. > The issue on windows is that we get a multiple DLL load e

Re: [CMake] [cmake-developers] Performance profiling for CMake scripts?

2018-06-20 Thread Isaiah Norton
I've used the following a few times recently to get a sense of hotspots: https://gist.github.com/ihnorton/05f1dea38e596e75ba106855d490e66a On Wed, Jun 20, 2018 at 10:17 AM Robert Dailey wrote: > I set my minimum required version to 3.6, which should enable those > policies by default (if they'r

[CMake] target_sources and multiple subdirs

2018-06-20 Thread Michael Jackson
I have a project where we have a bunch of plugins that are compiled. We are currently wrapping with Pybind11 to access those libraries from Python. The issue on windows is that we get a multiple DLL load error and our thought was to create 1 enormous python module library (Not sure if this is th

[CMake] Dos Line endings on response files when cross compiling.

2018-06-20 Thread Gebhard, Joseph
On our project we do development on windows but build for QNX. We use the Unix Makefile generator. My team added several new source files to a project resulting in cmake generating an objects1.rsp file. When building after this, we would get an error from the linker, it always failed to find

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

[CMake] FindBoost with MSVC and LLVM Toolset

2018-06-20 Thread Иннокентий Алайцев
Hello! I got a problem while trying to use CMake 3.11.3 to configure a project that uses Boost.Exception library and LLVM-vs2014 toolset with MSVS 2017 v15.7.4. I configure the project using cmake-gui. I select the Visual Studio 15 2017 generator and set optional toolset option to LLVM-vs2014. I

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 (