[Cmake-commits] CMake branch, master, updated. v3.7.1-925-g7373505

2017-01-05 Thread Kitware Robot
_VERSION_MINOR 7) -set(CMake_VERSION_PATCH 20170105) +set(CMake_VERSION_PATCH 20170106) #set(CMake_VERSION_RC 1) --- Summary of changes: Source/CMakeVersion.cmake |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/

Re: [cmake-developers] Fw: CTest and Address Sanitizer

2017-01-05 Thread Karl Robinson
Hi Chuck Firstly, thanks for taking the time to respond. The sanitizers exit on failure thing makes perfect sense although why it isn't the default behavior mystifies me. Turning it on gets me the effect I am looking for (CTest can detect a failure) but what I really want to know and the

Re: [cmake-developers] COMPILE_FEATURES, Mac and non-Apple clang versions

2017-01-05 Thread Stephen Kelly
Craig Scott wrote: >> if you use add_subdirectory with top-level projects which don't >> explicitly do something like that, you're getting undefined , and >> generally unexpected behavior in many ways. > > This seems at odds with the CMake documentation for > cmake_minimum_required(). That

Re: [CMake] How do static libraries get linked in Ninja?

2017-01-05 Thread Robert Maynard
Do you mean you don't see where the static library is created or where the static library is listed on the link line for the dynamic library? On Thu, Jan 5, 2017 at 11:30 AM, Robert Dailey wrote: > I have two targets in CMake: a static library and a shared library. >

Re: [CMake] Tracing ctest crash on windows

2017-01-05 Thread Aaron Boxer
Thanks, Bill and Jakob. I did what you suggested and found the problem Aaron On Thu, Jan 5, 2017 at 11:51 AM, Bill Hoffman wrote: > On 1/5/2017 9:32 AM, Jakob van Bethlehem wrote: > >> >> CTest is not some magical tool that internally runs your test or >> something

Re: [CMake] To include external libraries using Cmake

2017-01-05 Thread Matthew Woehlke
On 2017-01-05 05:10, aishwarya selvaraj wrote: > Thanks for feedback : > >> IF (${ARMADILLO} STREQUAL “ARMADILLO-NOTFOUND”) >> # do what you want >> ENDIF () > ​ > I tried this way of writing : > > IF (${ARMADILLO} STREQUAL "ARMADILLO-NOTFOUND") > include(ExternalProject) >

Re: [CMake] Tracing ctest crash on windows

2017-01-05 Thread Bill Hoffman
On 1/5/2017 9:32 AM, Jakob van Bethlehem wrote: CTest is not some magical tool that internally runs your test or something like that - instead CTest just fires up your test executable and does clever things with the output. In the same way you can just set your test project as startup-project,

[CMake] How do static libraries get linked in Ninja?

2017-01-05 Thread Robert Dailey
I have two targets in CMake: a static library and a shared library. The shared library specifies the static library as a target link library. When I generate for Ninja, and I run: $ ninja -v During the link command for the shared library, I do not see the static library specified to g++. I do

Re: [CMake] cpack multiple packages

2017-01-05 Thread Dvir Yitzchaki
Hi Domen. That works perfectly. This is my code if anyone’s interested: function(install_common) foreach(component ${ALL_COMPONENTS}) install(${ARGV} COMPONENT ${component}) endforeach() endfunction() where ALL_COMPONENTS is a global variable holding all components. Thanks,

Re: [CMake] Tracing ctest crash on windows

2017-01-05 Thread Jakob van Bethlehem
Hej, CTest is not some magical tool that internally runs your test or something like that - instead CTest just fires up your test executable and does clever things with the output. In the same way you can just set your test project as startup-project, and debug it like any other executable.

[CMake] To include external libraries using Cmake

2017-01-05 Thread aishwarya selvaraj
Thanks for feedback : > IF (${ARMADILLO} STREQUAL “ARMADILLO-NOTFOUND”) > # do what you want > ENDIF () ​ I tried this way of writing : IF (${ARMADILLO} STREQUAL "ARMADILLO-NOTFOUND") include(ExternalProject) ExternalProject_Add(armadillo URL