[CMake] Setting properties to interface

2017-04-15 Thread Tiago Macarios
Hi, Given a template-only library exposed throw an interface is it possible to set the necessary CXX_STANDARD necessary to use the library? The code below would be what I am trying to do. add_library(a_lib INTERFACE) set_property(TARGET a_lib PROPERTY CXX_STANDARD 11 PROPERTY

Re: [CMake] CMAKE_SIZEOF_VOID_P question

2017-04-15 Thread Ghislain Vaillant
> Next question is then why doesn't GNUInstallDirs set > CMAKE_INSTALL_LIBDIR as I expect on Ubuntu for the example I gave? > > I am expecting to see either lib64/lib (for 64/32 bit) or a triplet for > (32-bit). Now it's always 'lib'. Debian / Ubuntu injects this additional triplet for

[CMake] Configuration retrieval for external tools

2017-04-15 Thread Olzhas Rakhimov
Hello, I need an advice how to get 'project configurations' from CMake for another tool to use (cppdep in particular). The issue is described there: https://github.com/rakhimov/cppdep/issues/17 The information needed for analysis: 1. The directory of

[CMake] CXX_STANDARD use latest

2017-04-15 Thread Tiago Macarios
Hi, One can require a specific CXX_STANDARD to be used, but is it possible to set a minimum and let CMake use the latest as long as it satisfies the minimum? Example code: set_property(TARGET a_lib PROPERTY CXX_STANDARD_MIN 11 PROPERTY CXX_STANDARD_REQUIRED ON PROPERTY

[Cmake-commits] CMake branch, nightly-master, updated. v3.8.0-750-gf653c67

2017-04-15 Thread Kitware Robot
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "CMake". The branch, nightly-master has been updated via f653c6702a38eca61a441145dae2670e99f8a1ec (commit) from

[Cmake-commits] CMake branch, nightly, updated. v3.8.0-770-g3f1af3a

2017-04-15 Thread Kitware Robot
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "CMake". The branch, nightly has been updated discards 98c4dd19b693c874ab468ff8db704bd10090cc99 (commit) discards

[Cmake-commits] CMake branch, next, updated. v3.8.0-771-g50b727d

2017-04-15 Thread Kitware Robot
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "CMake". The branch, next has been updated discards 3f1af3ab0d00cb010dd3be08d4218643c487bc8b (commit) discards

[Cmake-commits] CMake branch, master, updated. v3.8.0-751-gf23bede

2017-04-15 Thread Kitware Robot
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "CMake". The branch, master has been updated via f23bede8b556d9d72b6bd5501e82ce1c8f3ce1c2 (commit) from