Re: [cmake-developers] Error handling in dashboard scripts

2018-05-30 Thread Shawn Waldon
> The documentation for ctest_configure(), ctest_build(), and ctest_submit() > isn't completely clear on what happens if one of these steps fails. Let's > say I have the following dashboard script (this is pseudocode, arguments > have been deliberately omitted for brevity, this example won't

Re: [cmake-developers] Proposed new CMake module FindITT.cmake

2018-05-30 Thread Gurulev, Dmitry
>Is there a header file too? Yes, it is - /opt/intel/vtune_amplifier_2018.2.0.551022/include/ittnotify.h >It's possible to provide a package configuration file for projects >that don't build with CMake. Qt5 does it. IIRC the Intel TBB >developers were looking at doing it too. Thanks for the

Re: [cmake-developers] Proposed new CMake module FindITT.cmake

2018-05-30 Thread Brad King
On 05/30/2018 10:18 AM, Gurulev, Dmitry wrote: > ITT comes w/ VTune app. in binary form > (/opt/intel/vtune_amplifier_2018.2.0.551022/lib64/libittnotify.a) Is there a header file too? > VTune is not CMake based distributive, no way to add cmake > package config to it. It's possible to provide a

Re: [cmake-developers] Proposed new CMake module FindITT.cmake

2018-05-30 Thread Gurulev, Dmitry
Example - ITT comes w/ VTune app. in binary form (/opt/intel/vtune_amplifier_2018.2.0.551022/lib64/libittnotify.a). But VTune is not CMake based distributive, no way to add cmake package config to it. From: Brad King [brad.k...@kitware.com] Sent:

Re: [cmake-developers] Proposed new CMake module FindITT.cmake

2018-05-30 Thread Brad King
On 05/30/2018 10:05 AM, Gurulev, Dmitry wrote: > It might be a binary package, no way to provide package config. I don't understand. Does it provide header files? Does it provide a "linktome.lib" file? -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ

Re: [cmake-developers] Proposed new CMake module FindITT.cmake

2018-05-30 Thread Gurulev, Dmitry
>That project's upstream should be able to provide a package configuration file >as well. It might be a binary package, no way to provide package config. From: Brad King [brad.k...@kitware.com] Sent: Wednesday, May 30, 2018 4:10 PM To: Gurulev, Dmitry;

Re: [cmake-developers] How to handle dependencies of protobuf files ?

2018-05-30 Thread Brad King
On 05/30/2018 09:54 AM, Eric Noulard wrote: > protoc can already do something like that but it spits out a makefile > includable file. > > see --dependency_out=FILE option. That may work well for the Ninja generator at least. See the add_custom_command `DEPFILE` option. One day it would be

Re: [cmake-developers] How to handle dependencies of protobuf files ?

2018-05-30 Thread Eric Noulard
Le mer. 30 mai 2018 à 15:12, Brad King a écrit : > On 05/29/2018 04:00 PM, Alexander Neundorf wrote: > >> In order to handle implicit dependencies like that implied by > >> > >> import "MyBase.proto"; > >> > >> then they would somehow need to be extracted from source content. > > > > Would

Re: [cmake-developers] How to handle dependencies of protobuf files ?

2018-05-30 Thread Brad King
On 05/29/2018 04:00 PM, Alexander Neundorf wrote: >> In order to handle implicit dependencies like that implied by >> >> import "MyBase.proto"; >> >> then they would somehow need to be extracted from source content. > > Would that have to be implemented similar to the C dependency scanning ?

Re: [cmake-developers] Proposed new CMake module FindITT.cmake

2018-05-30 Thread Brad King
On 05/30/2018 01:56 AM, Gurulev, Dmitry wrote: > what about stand-alone ITT? That project's upstream should be able to provide a package configuration file as well. -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at:

Re: [cmake-developers] Proposed new CMake module FindITT.cmake

2018-05-30 Thread Gurulev, Dmitry
Yes, of course, I can. And I'm going to do that, I've already written. My question is - what about stand-alone ITT? -Original Message- From: Sergei Nikulov [mailto:sergey.niku...@gmail.com] Sent: Wednesday, May 30, 2018 8:52 AM To: Gurulev, Dmitry Cc: brad.k...@kitware.com;