Re: [CMake] Problem measuring coverage in CTest scripts

2017-10-27 Thread Edoardo Pasca
Afaik, Ctest should be run in the build directory. From your command it seems you run it in the source. I'm not surprised it doesn't work. Edo On Oct 28, 2017 6:59 AM, "Maarten Anonymous" wrote: > Hey, > > I have a question about using CMake+CTest+CTest scripts for coverage tests. > > If I manu

Re: [CMake] How to find dll's on Cygwin? (fwd)

2017-10-27 Thread Hendrik Sattler
Hi, looking at the location of the gnat static library, it seems to be a compiler library like libm. You usually do not use find_package on those but directly use -lgnat and the compiler knows how to find it. Requesting static linking will also work then. HS Am 28. Oktober 2017 05:38:19 MESZ

[CMake] Problem measuring coverage in CTest scripts

2017-10-27 Thread Maarten Anonymous
Hey, I have a question about using CMake+CTest+CTest scripts for coverage tests. If I manually build the project and run "make ExperimantalCoverage" in a build folder, the coverage succeeds. If I run the coverage from within a CTest script, it fails. Am I forgetting something? A minimum example

Re: [CMake] How to find dll's on Cygwin? (fwd)

2017-10-27 Thread Alan W. Irwin
On 2017-10-27 22:31+0200 Marco Atzeri wrote: On 27/10/2017 09:32, Alan W. Irwin wrote: I am pretty sure there are a non-zero number of CMake users here who have had CMake experience finding dll's on Cygwin (since it appears from the quote below that import libraries can be replaced by dll's for

Re: [CMake] Boost's CMAKE approach and the BUILD_INTERFACE generator expression

2017-10-27 Thread paul via CMake
On Fri, 2017-10-27 at 12:22 -0700, Wesley Smith wrote: > Boost's CMAKE page (http://bcm.readthedocs.io/en/latest/src/Building.html)  > says: > > So this will build the library named boost_filesystem, however, we need to > supply the dependencies to boost_filesystem and add the include directories.

Re: [CMake] How to find dll's on Cygwin? (fwd)

2017-10-27 Thread Marco Atzeri
On 27/10/2017 09:32, Alan W. Irwin wrote: I am pretty sure there are a non-zero number of CMake users here who have had CMake experience finding dll's on Cygwin (since it appears from the quote below that import libraries can be replaced by dll's for the purposes of linking on that platform).  So

[CMake] Boost's CMAKE approach and the BUILD_INTERFACE generator expression

2017-10-27 Thread Wesley Smith
Boost's CMAKE page (http://bcm.readthedocs.io/en/latest/src/Building.html) says: So this will build the library named boost_filesystem, however, we need to supply the dependencies to boost_filesystem and add the include directories. To add the include directory we use target_include_directories. F

[CMake] How to find dll's on Cygwin? (fwd)

2017-10-27 Thread Alan W. Irwin
I am pretty sure there are a non-zero number of CMake users here who have had CMake experience finding dll's on Cygwin (since it appears from the quote below that import libraries can be replaced by dll's for the purposes of linking on that platform). So if you are one with such experience, I wou