Re: [CMake] [cmake-developers] libc++ usage in CMake with Clang?

2018-08-22 Thread Craig Scott
On Wed, Aug 22, 2018 at 1:39 PM, Ian Henriksen < insertinterestingnameh...@gmail.com> wrote: > > > On Tue, Aug 21, 2018 at 6:40 PM Craig Scott > wrote: > >> >> On Wed, Aug 22, 2018 at 7:18 AM, Robert Dailey >> wrote: >> >>> On Tue, Aug 21, 2018 at 3:47 PM Craig Scott >>> wrote: >>> > Excuse

Re: [CMake] Build flags not applied during compiler testing on Ubuntu

2018-08-22 Thread Richard Shaw
On Wed, Aug 22, 2018 at 3:02 PM Brad King wrote: > On 08/22/2018 03:49 PM, Richard Shaw wrote: > > Initially I tried setting the flags before invoking "project" and that > seemed > > to be enough for Fedora. I've tried other things as well that I've > probably > > forgotten but one other method

[CMake] Export a custom property of a target

2018-08-22 Thread Raphael Grimm
Hi, I added a custom target property via 'define_property' (https://cmake.org/cmake/help/latest/command/define_property.html). When using this target in a different cmake project the property is not found by cmake and the meta information stored in the target property is lost. Is there a

Re: [CMake] Export a custom property of a target

2018-08-22 Thread Marc CHEVRIER
'define_property' is nearly useless except for documentation. Export of custom properties is managed through target property 'EXPORT_PROPERTIES'. Le mer. 22 août 2018 à 15:58, Raphael Grimm a écrit : > Hi, > > I added a custom target property via 'define_property' >

Re: [CMake] Build flags not applied during compiler testing on Ubuntu

2018-08-22 Thread Brad King
On 08/22/2018 03:49 PM, Richard Shaw wrote: > Initially I tried setting the flags before invoking "project" and that seemed > to be enough for Fedora. I've tried other things as well that I've probably > forgotten but one other method I tried was: > > set(CMAKE_REQUIRED_DEFINITIONS

Re: [CMake] Build flags not applied during compiler testing on Ubuntu

2018-08-22 Thread Brad King
On 08/22/2018 04:23 PM, Richard Shaw wrote: > Currently I'm using an "include" of the toolchain file prior to calling > "project" since 100% of development happens on a PC instead of having > to pass the CMAKE_TOOLCHAIN_FILE option every time. CMAKE_TOOLCHAIN_FILE must be used in order to be

[CMake] Why does pkg_check_modules not use CMAKE_SYSTEM_PREFIX_PATH?

2018-08-22 Thread Shoaib Meenai
Hi, I'm using CMake for cross-compilation, and I have a toolchain file which sets CMAKE_SYSTEM_PREFIX_PATH accordingly. I'm running into issues with pkg_check_modules not finding some modules because it only searches inside CMAKE_PREFIX_PATH and not CMAKE_SYSTEM_PREFIX_PATH (where my *.pc

Re: [CMake] Problem with creating shared library

2018-08-22 Thread Damir Porobic
Thanks you Sebastián for finding the issue and fixing the CMake, probably would have never found out that it was set to private. The kImageAnnotator-example is working now as expected. Do I need something else, except installing the lib, in order to use it in different projects? I've created

Re: [CMake] Build flags not applied during compiler testing on Ubuntu

2018-08-22 Thread Brad King
On 08/21/2018 03:18 PM, Richard Shaw wrote: > without --specs=nosys.specs applied during compiler testing, cmake fails. How is this flag specified when invoking CMake? > https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/1787723 According to that discussion it works on Fedora but not on

Re: [CMake] Build flags not applied during compiler testing on Ubuntu

2018-08-22 Thread Richard Shaw
On Wed, Aug 22, 2018 at 1:51 PM Brad King wrote: > On 08/21/2018 03:18 PM, Richard Shaw wrote: > > without --specs=nosys.specs applied during compiler testing, cmake fails. > > How is this flag specified when invoking CMake? > Initially I tried setting the flags before invoking "project" and

Re: [cmake-developers] [CMake] libc++ usage in CMake with Clang?

2018-08-22 Thread Craig Scott
On Wed, Aug 22, 2018 at 1:39 PM, Ian Henriksen < insertinterestingnameh...@gmail.com> wrote: > > > On Tue, Aug 21, 2018 at 6:40 PM Craig Scott > wrote: > >> >> On Wed, Aug 22, 2018 at 7:18 AM, Robert Dailey >> wrote: >> >>> On Tue, Aug 21, 2018 at 3:47 PM Craig Scott >>> wrote: >>> > Excuse

Re: [cmake-developers] Shared libraries

2018-08-22 Thread APEKE, SENA (ext)
Hi Chuck, I also followed the discussions, we thank you for your answers and we shall come back to you if needed. Regards, Séna From: Chuck Atkins [mailto:chuck.atk...@kitware.com] Sent: Tuesday, August 21, 2018 6:58 PM To: REIX, Tony Cc: CMake Developers ; APEKE, SENA (ext) Subject: Re:

[Cmake-commits] CMake branch, master, updated. v3.12.1-440-g9e68a42

2018-08-22 Thread Kitware Robot
t a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index 1c388f1..520b6a2 100644 --- a/Source/CMakeVersion.cmake +++ b/Source/CMakeVersion.cmake @@ -1,5 +1,5 @@ # CMake version number components. set(CMake_VERSION_MAJOR 3) set(CMake_VERSION_MINOR 12) -set(CMake_VERSION_PATCH 20180822) +set(CMake_VER

Re: [cmake-developers] Fwd: Build flags not applied during compiler testing on Ubuntu

2018-08-22 Thread Brad King
On 08/22/2018 02:43 PM, Richard Shaw wrote: > Ok, I haven't gotten any responses from the user mailing list so hopefully > someone here can help me... I responded on the user list. It's only been one day anyway. -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the

Re: [cmake-developers] Quiet option for cmake

2018-08-22 Thread Brad King
On 08/21/2018 05:04 PM, Craig Scott wrote: > A user has recently been asking about reducing the output coming from a > FetchContent population when nothing needs to be done > Because this is implemented as a sub-build, you always see the following > > -- Configuring done > -- Generating done > --

[cmake-developers] Fwd: Build flags not applied during compiler testing on Ubuntu

2018-08-22 Thread Richard Shaw
Ok, I haven't gotten any responses from the user mailing list so hopefully someone here can help me... Thanks, Richard -- Forwarded message - From: Richard Shaw Date: Tue, Aug 21, 2018 at 2:18 PM Subject: Build flags not applied during compiler testing on Ubuntu To: I have a

Re: [cmake-developers] Fwd: Build flags not applied during compiler testing on Ubuntu

2018-08-22 Thread Richard Shaw
On Wed, Aug 22, 2018 at 1:52 PM Brad King wrote: > On 08/22/2018 02:43 PM, Richard Shaw wrote: > > Ok, I haven't gotten any responses from the user mailing list so > hopefully someone here can help me... > > I responded on the user list. It's only been one day anyway. > Sorry, I had emailed in