Re: [CMake] About FindBoost.cmake

2018-10-29 Thread Michael Ellery
I’m guessing you want to set Boost_USE_DEBUG_RUNTIME: https://github.com/Kitware/CMake/blob/master/Modules/FindBoost.cmake#L1467 > On Oct 29, 2018, at 4:29 PM, Osman Zakir wrote: > > Hi again, everyone. > > I noticed that FindBoost.cmake has "-d" set as the Boost debug ABI tag even > though

[CMake] About FindBoost.cmake

2018-10-29 Thread Osman Zakir
Hi again, everyone. I noticed that FindBoost.cmake has "-d" set as the Boost debug ABI tag even though the Boost libraries actually use "-gd". I installed the latet release of CMake just now, which has Boost 1.68.0 listed as a test version, and it has this problem too. For Boost.Filesystem, i

Re: [CMake] Removing rpath paths

2018-10-29 Thread Alexander Neundorf
On 2018 M10 28, Sun 18:46:24 CET you wrote: > El 28/10/18 a las 18:32, Alexander Neundorf escribió: > > well, then you do have some RPATH/RUNPATH somewhere ;-). As you say > > probably in the libraries. > > ld.so.conf could also contains additional search directories, but I doubt > > that that's th

Re: [CMake] TARGET_FILE generator expression and multi-config (i.e. VS)

2018-10-29 Thread Hendrik Greving
Ok thanks On Mon, Oct 29, 2018 at 9:45 AM Robert Maynard wrote: > The TARGET_FILE generator expression will give you the per-config > location for multi-config generators. > On Mon, Oct 29, 2018 at 11:15 AM Hendrik Greving > wrote: > > > > Subject: $ > > Thanks > > > > On Mon, Oct 29, 2018 at 7

Re: [CMake] TARGET_FILE generator expression and multi-config (i.e. VS)

2018-10-29 Thread Robert Maynard
The TARGET_FILE generator expression will give you the per-config location for multi-config generators. On Mon, Oct 29, 2018 at 11:15 AM Hendrik Greving wrote: > > Subject: $ > Thanks > > On Mon, Oct 29, 2018 at 7:56 AM Robert Maynard > wrote: >> >> I am not seeing any generator expression >> On

[CMake] FindMPI troubles on macOS w/ small reproducer

2018-10-29 Thread Zaak Beekman
or > more > > information on each offering, please visit: > > > > > > CMake Support: http://cmake.org/cmake/help/support.html > > > CMake Consulting: http://cmake.org/cmake/help/consulting.html > > > CMake Training Courses: http://cmake.org/cmake/help/tr

Re: [CMake] TARGET_FILE generator expression and multi-config (i.e. VS)

2018-10-29 Thread Hendrik Greving
Subject: $ Thanks On Mon, Oct 29, 2018 at 7:56 AM Robert Maynard wrote: > I am not seeing any generator expression > On Thu, Oct 25, 2018 at 2:25 PM Hendrik Greving > wrote: > > > > Hi @ll, does the generator expression above add a per-config subdir for > multi-config generators? > > Thanks in

Re: [CMake] CMake script mode not backward compatible?

2018-10-29 Thread Brad King
On 10/29/2018 04:28 AM, Damien R wrote: > Hi, > > Since cmake 3.10, using cmake in script mode (-P) produce an error with the > following script: > > cmake_minimum_required(VERSION 3.9) > set_directory_properties(PROPERTIES EXCLUDE_FROM_ALL FALSE) > > I did not see something related in the relea

Re: [CMake] TARGET_FILE generator expression and multi-config (i.e. VS)

2018-10-29 Thread Robert Maynard
I am not seeing any generator expression On Thu, Oct 25, 2018 at 2:25 PM Hendrik Greving wrote: > > Hi @ll, does the generator expression above add a per-config subdir for > multi-config generators? > Thanks in advance > -- > > Powered by www.kitware.com > > Please keep messages on-topic and chec

Re: [CMake] Specifying Boost or third-party library paths to CMake

2018-10-29 Thread Roger Leigh
On 29/10/2018 13:49, Osman Zakir wrote: How do I specify the path to the installations of third-party libraries to CMake?  Both GUI and command line.  I want to specify the path to the Boost libraries.  I'd also like to know if I just need to specify the path to the Boost Root or if I also need

[CMake] Specifying Boost or third-party library paths to CMake

2018-10-29 Thread Osman Zakir
How do I specify the path to the installations of third-party libraries to CMake? Both GUI and command line. I want to specify the path to the Boost libraries. I'd also like to know if I just need to specify the path to the Boost Root or if I also need to specify the path to the directory whe

[CMake] CMake script mode not backward compatible?

2018-10-29 Thread Damien R
Hi, Since cmake 3.10, using cmake in script mode (-P) produce an error with the following script: cmake_minimum_required(VERSION 3.9) set_directory_properties(PROPERTIES EXCLUDE_FROM_ALL FALSE) I did not see something related in the release notes of cmake 3.10 so I would like to know if it is a